language-dickinson-1.4.3.0: A language for generative literature
Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.Dickinson.Eval

Synopsis

Documentation

data EvalSt a Source #

The state during evaluation

Constructors

EvalSt 

Fields

Instances

Instances details
HasTyEnv EvalSt Source # 
Instance details

Defined in Language.Dickinson.Eval

HasLexerState (EvalSt a) Source # 
Instance details

Defined in Language.Dickinson.Eval

HasRenames (EvalSt a) Source # 
Instance details

Defined in Language.Dickinson.Eval

Pretty (EvalSt a) Source # 
Instance details

Defined in Language.Dickinson.Eval

Methods

pretty :: EvalSt a -> Doc ann #

prettyList :: [EvalSt a] -> Doc ann #

resolveExpressionM :: (MonadState (EvalSt a) m, MonadError (DickinsonError a) m) => Expression a -> m (Expression a) Source #

Resolve let bindings and such; do not perform choices or concatenations.