GFromForm for Bool
Open
- Dominant language
- Haskell
- Stars
- 53
- Forks
- 45
- PR merge metrics
- No merged PRs in 30d
Description
Hi, I’m wondering if it’d make sense to have a special handling for Booleans in GFromForm like we have for Maybe. It’d make sense to write an instance that parses like `Maybe` but `@Text` and then fmaps with isJust st a checkbox can be recognised without checking their value or encoding it as Maybe Text on the Backend. Perhaps a newtype like “CheckBoxParam” or something with the same name that’s isomorphic to Bool would be worthwhile as well?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.