universe-base

A class for finite and recursively enumerable types.

https://github.com/dmwit/universe

Version on this page:1.1.2
LTS Haskell 18.18:1.1.2
Stackage Nightly 2021-11-28:1.1.3@rev:2
Latest on Hackage:1.1.3@rev:2

See all snapshots universe-base appears in

BSD-3-Clause licensed by Daniel Wagner
Maintained by me@dmwit.com
This version can be pinned in stack with:universe-base-1.1.2@sha256:b9418acb5276d19d5c7fe05812990d0580111b2c4da5470c647bb75b1fdc1067,2764

Module documentation for 1.1.2

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.