CurryInfo: coosy-3.1.0 / Observe.oMaybe

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