A class for finite and recursively enumerable types.


Version on this page:1.1.3@rev:2
LTS Haskell 20.9:1.1.3@rev:3
Stackage Nightly 2023-02-04:1.1.3@rev:3
Latest on Hackage:1.1.3@rev:3

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.3@sha256:803ff49b75d6a7aa6e39fd6ee306c0fbe34754e01229df3b805719c2f0e027bb,2945

Module documentation for 1.1.3

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.