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