|
definition: |
addPostCondToStats :: String -> Bool -> VState -> VState
addPostCondToStats pc verified vst =
if verified then vst { vPostCond = pc : vPostCond vst }
else vst { uPostCond = pc : uPostCond vst }
|
|
demand: |
arguments 2 3 |
|
deterministic: |
deterministic operation |
|
documentation: |
Adds an operation to the already processed operations with postconditions. If the second argument is true, the postcondition of this operation has been verified. |
|
failfree: |
(_, _, _) |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{(_,{True},{VState}) |-> {VState} || (_,{False},{VState}) |-> {VState}}
|
|
name: |
addPostCondToStats |
|
precedence: |
no precedence defined |
|
result-values: |
{VState}
|
|
signature: |
String -> Prelude.Bool -> VState -> VState |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
yes |
|
totally-defined: |
reducible on all ground data terms |