CurryInfo: verify-non-fail-2.0.0 / Verify.WithSMT.elimFailed

definition: Info
 
elimFailed :: Int -> Term -> (Term, [(Int,Sort)])
elimFailed maxusedvar trm =
  let st0 = TransApplyState (maximum (maxusedvar : allVarsInTerm trm) + 1) []
      (ntrm,st1) = runState (elimFailedInTerm trm) st0
  in (ntrm, reverse (tsNewVars st1))
demand: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
Transforms a term by replacing occurrences of
`Prelude_failed` with new fresh variables.
The first argument is the maximum index of already used variables.
failfree: Info
 (_, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,_) |-> {(,)}}
name: Info
 elimFailed
precedence: Info
 no precedence defined
result-values: Info
 {(,)}
signature: Info
 Prelude.Int -> Verify.ESMT.Term
-> (Verify.ESMT.Term, [(Prelude.Int, Verify.ESMT.Sort)])
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term