| Safe Haskell | None |
|---|
DDC.Core.Eval.Prim
Description
Single step evaluation of primitive operators and constructors.
Documentation
Arguments
| :: DaCon Name | Data constructor to evaluate. |
| -> [Exp () Name] | Arguments to constructor. |
| -> Store | Current store. |
| -> Maybe (Store, Exp () Name) | New store and result expression,
if the operator steps, otherwise |
Step a primitive constructor, which allocates an object in the store.
Arguments
| :: Name | Name of operator to evaluate. |
| -> [Exp () Name] | Arguments to operator. |
| -> Store | Current store. |
| -> Maybe (Store, Exp () Name) | New store and result expression,
if the operator steps, otherwise |
Step a primitive operator.