CurryInfo: base-3.4.0 / Debug.Trace.assert

definition: Info
 
assert :: Bool -> String -> a -> a
assert cond s x = if cond then x else error s
demand: Info
 argument 1
deterministic: Info
 deterministic operation
documentation: Info
 
Assert a condition w.r.t. an error message.
If the condition is not met it fails with the given error message,
otherwise the third argument is returned.
failfree: Info
 (_, _, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {({True},_,_) |-> _}
name: Info
 assert
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 Prelude.Bool -> String -> a -> a
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 yes
totally-defined: Info
 reducible on all ground data terms