The unfoldable package
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.
Properties
| Versions | 0.0.0, 0.1.0, 0.2.0, 0.3.0, 0.4.0, 0.5.0, 0.6.0, 0.6.0.1, 0.6.0.2, 0.6.1, 0.7, 0.7.1 |
|---|---|
| Dependencies | base (4.*), QuickCheck (≥2.4 & <2.6), random (1.0.*), transformers (0.3.*) |
| License | BSD3 |
| Author | Sjoerd Visscher |
| Maintainer | sjoerd@w3future.com |
| Category | Generics |
| Home page | https://github.com/sjoerdvisscher/unfoldable |
| Bug tracker | https://github.com/sjoerdvisscher/unfoldable/issues |
| Source repository | git clone git://github.com/sjoerdvisscher/unfoldable.git |
| Upload date | Sat Jul 14 13:57:11 UTC 2012 |
| Uploaded by | SjoerdVisscher |
| Built on | ghc-7.4 |
Modules
Downloads
- unfoldable-0.6.1.tar.gz (Cabal source package)
- package description (included in the package)