Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Class of data structures that can be unfolded.

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 examples
Octocat-spinner-32 src
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README
Octocat-spinner-32 Setup.hs
Octocat-spinner-32 unfoldable.cabal
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.
Something went wrong with that request. Please try again.