Safe Haskell | None |
---|---|
Language | Haskell2010 |
Calamity commands This module only exports the DSL and core types for using commands
Documentation
module Calamity.Commands.Dsl
module Calamity.Commands.Error
module Calamity.Commands.Handler
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 :: Sem (ParserEffs r) (ParserResult (KleeneConcat a)) Source # | |
Parser (KleeneConcat Text) r Source # | |
Defined in Calamity.Commands.Parser type ParserResult (KleeneConcat Text) Source # parse :: Sem (ParserEffs r) (ParserResult (KleeneConcat Text)) Source # | |
type ParserResult (KleeneConcat a) Source # | |
Defined in Calamity.Commands.Parser | |
type ParserResult (KleeneConcat Text) Source # | |
Defined in Calamity.Commands.Parser |
data Named (s :: Symbol) a Source #
Instances
(KnownSymbol s, Parser a r) => Parser (Named s a) r Source # | |
Defined in Calamity.Commands.Parser type ParserResult (Named s a) Source # | |
type ParserResult (Named s a) Source # | |
Defined in Calamity.Commands.Parser |
class Typeable a => Parser (a :: Type) r where Source #
type ParserResult a Source #
type ParserResult a = a Source #
parse :: Sem (ParserEffs r) (ParserResult a) Source #