CurryInfo: base-3.4.0 / Data.Maybe.fromMaybe

definition: Info
 
fromMaybe :: a -> Maybe a -> a
fromMaybe d Nothing  = d
fromMaybe _ (Just a) = a
demand: Info
 argument 2
deterministic: Info
 deterministic operation
documentation: Info
 
Extract the argument from the `Just` constructor or return the provided
default value if the argument is `Nothing`.
failfree: Info
 (_, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,{Nothing}) |-> _ || (_,{Just}) |-> _}
name: Info
 fromMaybe
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 a -> Prelude.Maybe a -> a
solution-complete: Info
 operationally complete operation
terminating: Info
 yes
totally-defined: Info
 reducible on all ground data terms