unfoldable: 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.
Downloads
- unfoldable-1.0.1.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 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 |
---|---|
Change log | CHANGELOG.md |
Dependencies | base (>=4 && <5), containers (>=0.5 && <0.7), ghc-prim (>=0.2), one-liner (>=0.9 && <3.0), QuickCheck (>=2.7.3 && <3.0), random (>=1.0 && <1.3), transformers (>=0.4 && <0.6) [details] |
Tested with | ghc ==9.0.1, ghc ==8.10.2, ghc ==8.8.4 |
License | BSD-3-Clause |
Author | Sjoerd Visscher |
Maintainer | sjoerd@w3future.com |
Revised | Revision 1 made by SjoerdVisscher at 2023-09-28T19:04:56Z |
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 2021-02-24T14:39:15Z |
Distributions | |
Reverse Dependencies | 2 direct, 2 indirect [details] |
Downloads | 18917 total (83 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2021-02-24 [all 1 reports] |