MIT licensed by Theodore Lief Gannon
Maintained by tanuki@gmail.com

Module documentation for 0.1.0.0

This version can be pinned in stack with:safe-foldable-0.1.0.0@sha256:dd9d8099faa71e5cbc38e3060dc23804de26d13d514e65ea13617ecb6e624d5e,979

safe-foldable

Provides defaulting and mayhap to safely wrap functions on Foldables that are partial with null data.

λ. minimum []
*** Exception: Prelude.minimum: empty list
λ. minimum [3,1,2]
1

λ. defaulting 0 minimum []
0
λ. defaulting 0 minimum [3,1,2]
1

λ. mayhap minimum []
Nothing
λ. mayhap minimum [3,1,2]
Just 1
Depends on 1 package(full list with versions):
comments powered byDisqus