unfoldable: Class of data structures that can be unfolded.
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
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, 0.7.2, 0.8, 0.8.1, 0.8.2, 0.8.3, 0.8.4, 0.9, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5, 0.9.6, 1.0, 1.0, 1.0.1 |
---|---|
Change log | CHANGELOG.md |
Dependencies | base (>=4 && <5), containers (>=0.5 && <0.7), ghc-prim (>=0.2), one-liner (>=0.9 && <2.0), QuickCheck (>=2.7.3 && <3.0), random (>=1.0 && <1.2), transformers (>=0.4 && <0.6) [details] |
License | BSD-3-Clause |
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 repo | head: git clone git://github.com/sjoerdvisscher/unfoldable.git |
Uploaded | by SjoerdVisscher at 2020-04-15T10:42:01Z |
Modules
[Index] [Quick Jump]
Downloads
- unfoldable-1.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees