universe-base

A class for finite and recursively enumerable types.

https://github.com/dmwit/universe

Version on this page:1.1.3.1@rev:1
LTS Haskell 23.1:1.1.4
Stackage Nightly 2024-12-21:1.1.4
Latest on Hackage:1.1.4

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.3.1@sha256:e4c98a8f1f8d56781eb204152ec88042b70ed951f3efbb7cf70a3eaca180b28a,2989

Module documentation for 1.1.3.1

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.