| Copyright | (c) 2006-2007 Roman Leshchinskiy |
|---|---|
| License | BSD-style (see the file LICENSE) |
| Maintainer | Roman Leshchinskiy <rl@cse.unsw.edu.au> |
| Stability | experimental |
| Portability | portable |
| Safe Haskell | Safe |
| Language | Haskell98 |
Data.Strict.Maybe
Description
Strict Maybe.
Same as the standard Haskell Maybe, but Just _|_ = _|_
Note that strict Maybe is not a monad since
return _|_ >>= f = _|_
which is not necessarily the same as f _|_.
Documentation
The type of strict optional values.
Instances
| Functor Maybe Source # | |
| Eq a => Eq (Maybe a) Source # | |
| Ord a => Ord (Maybe a) Source # | |
Defined in Data.Strict.Maybe | |
| Read a => Read (Maybe a) Source # | |
| Show a => Show (Maybe a) Source # | |