|
definition: |
addProgToState :: AProg TypeExpr -> VState -> VState
addProgToState prog vstate = vstate { currTAProgs = prog : currTAProgs vstate }
|
|
demand: |
argument 2 |
|
deterministic: |
deterministic operation |
|
documentation: |
Adds a new typed FlatCurry program to the state. |
|
failfree: |
(_, _) |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{(_,{VState}) |-> {VState}}
|
|
name: |
addProgToState |
|
precedence: |
no precedence defined |
|
result-values: |
{VState}
|
|
signature: |
FlatCurry.Annotated.Types.AProg FlatCurry.Types.TypeExpr -> VState -> VState |
|
solution-complete: |
operationally complete operation |
|
terminating: |
yes |
|
totally-defined: |
reducible on all ground data terms |