CurryInfo: contract-prover-4.0.0 / VerifierState.addPreCondToStats

definition:
addPreCondToStats :: String -> Bool -> VState -> VState
addPreCondToStats pc verified vst =
  if verified then vst { vPreCond = pc : vPreCond vst }
              else vst { uPreCond = pc : uPreCond vst }
demand:
arguments 2 3
deterministic:
deterministic operation
documentation:
--- Increments the number of preconditions. If the first argument is true,
--- a precondition has been verified.
failfree:
(_, _, _)
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{(_,{True},{VState}) |-> {VState} || (_,{False},{VState}) |-> {VState}}
name:
addPreCondToStats
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