Safe Haskell | None |
---|
Single step evaluation of primitive operators and constructors.
Documentation
:: 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.
:: 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.