| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Calamity.Commands
Description
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 Associated Types type ParserResult (KleeneConcat a) Source # | |
| Parser (KleeneConcat Text) r Source # | |
Defined in Calamity.Commands.Parser Associated Types type ParserResult (KleeneConcat Text) Source # Methods 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 Associated Types 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 #
Minimal complete definition
Methods
parse :: Sem (ParserEffs r) (ParserResult a) Source #