Safe Haskell | Safe-Infered |
---|
Penny.Zinc.Parser.Filter
- parseFilter :: T -> Parser (Exceptional Error (Either NeedsHelp Result))
- data Error
- data NeedsHelp = NeedsHelp
- data Result = Result {
- resultFactory :: CaseSensitive -> Text -> Exceptional Text (Text -> Bool)
- resultSensitive :: CaseSensitive
- sorterFilterer :: [Transaction] -> [Box LibertyMeta]
Documentation
parseFilter :: T -> Parser (Exceptional Error (Either NeedsHelp Result))Source
Parses all filtering options. Returns a parser that contains an Exception if some error occurred after parsing the options, or a Success with a result if the parse was successful.
Returned if the user requested help.
Constructors
NeedsHelp |
Indicates the result of a successful parse of filtering options.
Constructors
Result | |
Fields
|