CurryInfo: base-3.4.0 / Prelude.ifThenElse

definition: Info
 
ifThenElse :: Bool -> a -> a -> a
ifThenElse b t f = case b of True  -> t
                             False -> f
demand: Info
 argument 1
deterministic: Info
 deterministic operation
documentation: Info
 
The standard conditional. It suspends if the condition is a free variable.
failfree: Info
 (_, _, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {({True},_,_) |-> _ || ({False},_,_) |-> _}
name: Info
 ifThenElse
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 Bool -> a -> a -> a
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 yes
totally-defined: Info
 reducible on all ground data terms