|
definition: |
oMaybe :: Data a => Observer a -> Observer (Maybe a) oMaybe _ Nothing = o0 "Nothing" Nothing oMaybe observeA (Just x) = o1 observeA "Just" Just x |
|
demand: |
argument 3 |
|
deterministic: |
possibly non-deterministic operation |
|
documentation: |
An observer combinator for the `Maybe` type. |
|
failfree: |
<FAILING> |
|
indeterministic: |
might be indeterministic |
|
infix: |
no fixity defined |
|
iotype: |
{(_,_,{Nothing}) |-> {o0} || (_,_,{Just}) |-> {o1}}
|
|
name: |
oMaybe |
|
precedence: |
no precedence defined |
|
result-values: |
{o0,o1}
|
|
signature: |
Prelude.Data a => (a -> String -> Prelude.Int -> [Prelude.Int] -> a) -> Prelude.Maybe a -> String -> Prelude.Int -> [Prelude.Int] -> Prelude.Maybe a |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
possibly non-terminating |
|
totally-defined: |
possibly non-reducible on same data term |