symantic-parser-0.0.0.20210102: Parser combinators statically optimized and staged via typed meta-programming
Safe HaskellNone
LanguageHaskell2010

Symantic.Parser.Grammar.Write

Synopsis

Type WriteComb

newtype WriteComb a Source #

Constructors

WriteComb 

Instances

Instances details
Lookable WriteComb Source # 
Instance details

Defined in Symantic.Parser.Grammar.Write

Foldable WriteComb Source # 
Instance details

Defined in Symantic.Parser.Grammar.Write

Methods

chainPre :: WriteComb (a -> a) -> WriteComb a -> WriteComb a Source #

chainPost :: WriteComb a -> WriteComb (a -> a) -> WriteComb a Source #

Matchable WriteComb Source # 
Instance details

Defined in Symantic.Parser.Grammar.Write

Methods

conditional :: Eq a => [Haskell (a -> Bool)] -> [WriteComb b] -> WriteComb a -> WriteComb b -> WriteComb b Source #

match :: Eq a => [Haskell a] -> WriteComb a -> (Haskell a -> WriteComb b) -> WriteComb b -> WriteComb b Source #

Selectable WriteComb Source # 
Instance details

Defined in Symantic.Parser.Grammar.Write

Methods

branch :: WriteComb (Either a b) -> WriteComb (a -> c) -> WriteComb (b -> c) -> WriteComb c Source #

Alternable WriteComb Source # 
Instance details

Defined in Symantic.Parser.Grammar.Write

Applicable WriteComb Source # 
Instance details

Defined in Symantic.Parser.Grammar.Write

Show letName => Letable letName WriteComb Source # 
Instance details

Defined in Symantic.Parser.Grammar.Write

Methods

def :: letName -> WriteComb a -> WriteComb a Source #

ref :: Bool -> letName -> WriteComb a Source #

Satisfiable WriteComb tok Source # 
Instance details

Defined in Symantic.Parser.Grammar.Write

Methods

satisfy :: [ErrorItem tok] -> Haskell (tok -> Bool) -> WriteComb tok Source #

IsString (WriteComb a) Source # 
Instance details

Defined in Symantic.Parser.Grammar.Write

Methods

fromString :: String -> WriteComb a #

Type WriteCombInh