enumerate

enumerate all the values in a finite type (automatically)

https://github.com/sboosali/enumerate

Latest on Hackage:0.2.2

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

MIT licensed by Sam Boosalis
Maintained by [email protected]

provides

  • (1) a typeclass for enumerating all values in a finite type,

  • (2) a generic instance for automatic deriving, and

  • (3) helpers that reify functions (partial or total, monadic or pure) into a Map.

see the Enumerable module for extensive documentation.