Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- viewAsFieldDescr :: OptionField a -> FieldDescr a
Documentation
viewAsFieldDescr :: OptionField a -> FieldDescr a Source #
to view as a FieldDescr, we sort the list of interfaces (Req > Bool > Choice > Opt) and consider only the first one.