forms-data-format-0.2.1: Parse and serialize FDF, the Forms Data Format
Safe HaskellSafe-Inferred
LanguageHaskell2010

Text.FDF

Description

Parse and serialize between FDF files and `Map [Text] Text`.

Synopsis

Documentation

data FDF Source #

Parsed FDF data structure

Instances

Instances details
Show FDF Source # 
Instance details

Defined in Text.FDF

Methods

showsPrec :: Int -> FDF -> ShowS #

show :: FDF -> String #

showList :: [FDF] -> ShowS #

data Field Source #

The body of FDF is a tree of nestable Fields.

Constructors

Field 

Fields

Instances

Instances details
Show Field Source # 
Instance details

Defined in Text.FDF

Methods

showsPrec :: Int -> Field -> ShowS #

show :: Field -> String #

showList :: [Field] -> ShowS #

mapWithKey :: ([Text] -> Text -> Text) -> FDF -> FDF Source #

foldMapWithKey :: Monoid a => ([Text] -> Text -> a) -> FDF -> a Source #

foldMapFieldWithKey :: Monoid a => ([Text] -> Text -> a) -> Field -> a Source #

traverseWithKey :: Applicative f => ([Text] -> Text -> f Text) -> FDF -> f FDF Source #