List of checkboxes with digestive-functors
问题 How do I use digestive functors to create a form that has a programmatically generated list of checkboxes, which would return a list. For example: [x] Milk [ ] Cereals [x] Ground meat would return ["Milk", "Ground meat"] . I'm expecting the type would be something like: form :: (Functor m, Monad m) => [String] -> HappstackForm m Html BlazeFormHtml [String] 回答1: There is no standard way to do so, but digestive-functors is highly composable using the Applicative interface, so you can easily