A class for finite and recursively enumerable types. https://github.com/dmwit/universe

Version on this page:1.1.1
LTS Haskell 14.6:1.1.1@rev:1
Stackage Nightly 2019-09-21:1.1.1@rev:1
Latest on Hackage:1.1.1@rev:1

See all snapshots universe-base appears in

BSD-3-Clause licensed by Daniel Wagner
Maintained by me@dmwit.com

Module documentation for 1.1.1

This version can be pinned in stack with:universe-base-1.1.1@sha256:1313ee7480fa14e7f77345b9c2dceb402404f7c6bbae8105ca9bf8a85ca1aa2e,2459

A class for finite and recursively enumerable types and some helper functions for enumerating them.

class Universe a where universe :: [a]
class Universe a => Finite a where universeF :: [a]; universeF = universe

This is slim package definiting only the type-classes and instances for types in GHC boot libraries. For more instances check universe-instances-* packages.

comments powered byDisqus