CurryInfo: base-3.4.0 / Data.Maybe.maybeToList

definition: Info
 
maybeToList :: Maybe a -> [a]
maybeToList Nothing  = []
maybeToList (Just a) = [a]
demand: Info
 argument 1
deterministic: Info
 deterministic operation
documentation: Info
 
Return an empty list for `Nothing` or a singleton list for `Just x`.
failfree: Info
 _
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {({Nothing}) |-> {[]} || ({Just}) |-> {:}}
name: Info
 maybeToList
precedence: Info
 no precedence defined
result-values: Info
 {:,[]}
signature: Info
 Prelude.Maybe a -> [a]
solution-complete: Info
 operationally complete operation
terminating: Info
 yes
totally-defined: Info
 reducible on all ground data terms