ltext-0.0.0.2: Higher-order file applicator

Safe HaskellSafe
LanguageHaskell2010

LText.Parser.Expr

Synopsis

Documentation

runParse :: (Monad m, MonadError String m) => StateT ParseState m a -> m a Source

parseExpr :: (MonadState ParseState m, MonadError String m) => [ExprTokens] -> m Expr Source

Parser for expressions. Note - cannot parse EConc or EText constructors - they are implicit, and not considered in evaluation.

makeExpr :: (Monad m, MonadError String m) => String -> m Expr Source