Prelude.Maybe3kaya
Optional values.
Usage
Prelude::Maybe< a >
-
=
nothing()
-
|
just(a val)
Overview
A value is either of type a , represented as just(a) , or empty. Maybe is often useful for computations which can possibly fail, for example looking up values in a dictionary. Because the nothing value can be stored, this is often more useful than Exceptions on failure.
Releases
4 releases since Debian 5.0 (Lenny); the text changed 3 times.