Safe Haskell | None |
---|---|
Language | Haskell2010 |
Something that can parse user input
Documentation
class Parser (a :: Type) r where Source #
type ParserResult a Source #
type ParserResult a = a Source #
Instances
data KleeneConcat a Source #
Instances
(Monoid (ParserResult a), Parser a r) => Parser (KleeneConcat a) r Source # | |
Defined in Calamity.Commands.Parser type ParserResult (KleeneConcat a) Source # parse :: (Context, Text) -> Sem r (Either Text (ParserResult (KleeneConcat a), Text)) Source # | |
Parser (KleeneConcat Text) r Source # | |
Defined in Calamity.Commands.Parser type ParserResult (KleeneConcat Text) Source # | |
type ParserResult (KleeneConcat a) Source # | |
Defined in Calamity.Commands.Parser | |
type ParserResult (KleeneConcat Text) Source # | |
Defined in Calamity.Commands.Parser |
Orphan instances
ShowErrorComponent Text Source # | |
showErrorComponent :: Text -> String errorComponentLen :: Text -> Int |