Package Info

ghc-unfoldable


Class of data structures that can be unfolded


Development/Libraries/Haskell

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.


License: BSD-3-Clause
URL: https://hackage.haskell.org/package/unfoldable

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.9.4-bp150.2.3 info GA Release 2018-08-01 15
  • AArch64
  • ghc-unfoldable
  • ghc-unfoldable-devel
0.9.4-bp150.2.6 info GA Release 2018-07-30 15
  • ppc64le
  • x86-64
  • ghc-unfoldable
  • ghc-unfoldable-devel