-
-
Notifications
You must be signed in to change notification settings - Fork 0
Metafunction.Assign
Andrew Matthews edited this page Apr 14, 2021
·
1 revision
Performs an assignment within the stack frame
Stack effect
[<expression>, id, \Assign] => []
Environment Effect
{id -> ?} => {id -> value}
Knowledge Graph Effect
() => ()
This builtin stack function has the effect of taking an identifier from the top of the stack, plus the result of evaluating an expression, and creates/updates an entry in the environment with the value bound to the identifier.
Prerequisites:
- The identifier MUST exist in the environment prior to dispatching the
\Assign