Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- run :: Applicative m => ([Field a], cs) -> m ([Field a], cs)
- field :: Field a -> Field a
- name :: Name a -> Name a
- fieldLine :: FieldLine a -> FieldLine a
- sectionArg :: SectionArg a -> SectionArg a
Documentation
run :: Applicative m => ([Field a], cs) -> m ([Field a], cs) Source #
High level wrapper around field
that makes this action easier to compose
with other actions.
field :: Field a -> Field a Source #
Strips blank space from the field recursively. In practice there should
not be any leading or trailing blank space to begin with. However the legacy
curly bracket syntax can introduce trailing blank space. For example with
s { f : x }
the field value will have a trailing space ("x "
).
sectionArg :: SectionArg a -> SectionArg a Source #
Strips blank space from the section argument.