|
definition: |
isRight :: Either a b -> Bool isRight (Left _) = False isRight (Right _) = True |
|
demand: |
argument 1 |
|
deterministic: |
deterministic operation |
|
documentation: |
Return `True` if the given value is a `Right`-value, `False` otherwise. |
|
failfree: |
_ |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{({Left}) |-> {False} || ({Right}) |-> {True}}
|
|
name: |
isRight |
|
precedence: |
no precedence defined |
|
result-values: |
{False,True}
|
|
signature: |
Prelude.Either a b -> Prelude.Bool |
|
solution-complete: |
operationally complete operation |
|
terminating: |
yes |
|
totally-defined: |
reducible on all ground data terms |