Instant is
off
|
Search plugin
|
Manual
|
haskell.org
fromMaybe
Packages
base
fromMaybe
:: a -> Maybe a -> a
base
Data.Maybe
The
fromMaybe
function takes a default value and and
Maybe
value. If the
Maybe
is
Nothing
, it returns the default values; otherwise, it returns the value contained in the
Maybe
.
©
Neil Mitchell
2004-2012, version 4.2.11