universe-base

A class for finite and recursively enumerable types.

https://github.com/dmwit/universe

Version on this page:1.1.4@rev:2
LTS Haskell 24.66:1.1.4@rev:2
Stackage Nightly 2026-11-12:1.1.4@rev:3
Latest on Hackage:1.1.4@rev:3

See all snapshots universe-base appears in

BSD-3-Clause licensed by Daniel Wagner
Maintained by [email protected]
This version can be pinned in stack with:universe-base-1.1.4@sha256:8925666a2a6c41930160e8c0a49d316a4cbc4a2408cb17ce6b3270bbd70cd91c,2363

Module documentation for 1.1.4

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.