Safe Haskell | None |
---|---|
Language | Haskell2010 |
Technique.Evaluator
Description
Given an instantiated Technique Procedure, evalutate it at runtime.
Synopsis
- data Context = Context {}
- newtype Evaluate a = Evaluate (ReaderT Context IO a)
- unEvaluate :: Evaluate a -> ReaderT Context IO a
- evaluateStep :: Step -> Evaluate Value
- functionApplication :: Function -> Step -> Evaluate Value
- executeAction :: Function -> Step -> Evaluate Value
- blockUntilValue :: Name -> Evaluate Value
- assignNames :: [Name] -> Step -> Evaluate Promise
Documentation
In order to execute a Procedure we need to supply a Context: an identifier for the event (collection of procedure calls) it is a part of, and the path history we took to get here.
Constructors
Context | |
Fields
|