Copyright | (C) 2018 Johann Lee <me@qinka.pro> |
---|---|
License | GPL3 |
Maintainer | me@qinka.pro |
Stability | experimental |
Safe Haskell | Safe |
Language | Haskell2010 |
Portablility: unknown
Documentation
to hold the values
:: (Monad m, Reformat t, Str t ~ String) | |
=> t | item |
-> String | format string |
-> m (Either ParseError String) |
render the string with given format and item
:: (Stream (Str t) m Char, Reformat t) | |
=> SourceName | name of input source |
-> Str t | string of input |
-> m (Either ParseError t) | output |
Parse the string with the parser. The parser is provided with instance of Reformat
.