Maybe | |
Functions | |
map | Transforms a maybe value by using the specified mapping function. |
get | Returns the value associated with the maybe or crashes the program. |
isJust | Returns true if the maybe value is not nothing |
isNothing | Returns true if the maybe value is nothing |
count | Returns 0 if the maybe value is nothing, 1 otherwise |
foldl | Evaluates the equivalent of List:foldl for a maybe |
foldr | Evaluates the equivalent of List:foldr for a maybe |
iter | Executes a function for a maybe value |