Copyright | (c) Marcin Mrotek, 2015 |
---|---|
License | BSD3 |
Maintainer | marcin.jan.mrotek@gmail.com |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
Types used by the key-value part of the library.
- data KeyValueError
- type WithKeyValueError = AccValidation [KeyValueError]
- data KeyValueOptions m f rs = KeyValueOptions {}
- kvParser :: forall m f rs m f. Lens (KeyValueOptions m f rs) (KeyValueOptions m f rs) (Rec (CellParser m f :: k -> *) rs) (Rec (CellParser m f :: k -> *) rs)
- keyNames :: forall m f rs. Lens' (KeyValueOptions m f rs) (Rec (Const Text :: k -> *) rs)
Documentation
data KeyValueError Source
An error that occured during the parsing of the header.
MissingValue | A value is missing in the header. |
MultipleValues | A value is given multiple times. |
ValueParsingError String | Parsing error as returned by Data.Text.Lazy.Read. |
type WithKeyValueError = AccValidation [KeyValueError] Source
Shorthand for functions that can return KeyValueError
s.
data KeyValueOptions m f rs Source
kvParser :: forall m f rs m f. Lens (KeyValueOptions m f rs) (KeyValueOptions m f rs) (Rec (CellParser m f :: k -> *) rs) (Rec (CellParser m f :: k -> *) rs) Source