homepage: https://github.com/tejon/safe-foldable#readme
changelog-type: ''
hash: dd9d8099faa71e5cbc38e3060dc23804de26d13d514e65ea13617ecb6e624d5e
test-bench-deps: {}
maintainer: tanuki@gmail.com
synopsis: Safe wrappers for null-partial Foldable operations
changelog: ''
basic-deps:
  base: ! '>=4.7 && <5'
all-versions:
- '0.1.0.0'
author: Theodore Lief Gannon
latest: '0.1.0.0'
description-type: markdown
description: ! '# safe-foldable

  Provides `defaulting` and `mayhap` to safely wrap functions on `Foldable`s 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

  ```

'
license-name: MIT

Update from Hackage at 2018-06-06T22:21:35Z
Update from Hackage at 2018-06-06T22:21:35Z
