Nomyx-Language-0.2.2: Language to express rules for Nomic

Safe HaskellNone

Language.Nomyx.Evaluation

Synopsis

Documentation

type Evaluate a = ErrorT String (State Game) aSource

evalExp :: Nomex a -> RuleNumber -> Evaluate aSource

evaluate an expression. The rule number passed is the number of the rule containing the expression.