BSD-3-Clause licensed by Sjoerd Visscher
Maintained by [email protected]
This version can be pinned in stack with:unfoldable-0.8.3@sha256:741ebd54c20bd2260d26bfa0f4156d5a69e78c2ec3d65f20b0d9e3736791246b,1561

Module documentation for 0.8.3

Used by 1 package in nightly-2016-08-15(full list with versions):

Just as there's a Foldable class, there should also be an Unfoldable class.

This package provides one. Example unfolds are:

  • Random values

  • Enumeration of all values (depth-first or breadth-first)

  • Convert from a list

Some examples can be found in the examples directory.

Changes

0.8.1

  • added changelog
  • updated to transformers 0.4.1.0
  • added Data.Functor.Sum instance for Unfoldable

0.8

  • new implementation of arbitraryDefault