Class of data structures that can be unfolded.
Switch branches/tags
Nothing to show
Pull request Compare This branch is 27 commits behind sjoerdvisscher:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
src/Data
LICENSE
README
Setup.hs
unfoldable.cabal

README

Class of data structures that can be unfolded.

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.