universe

A class for finite and recursively enumerable types.

https://github.com/dmwit/universe

Version on this page:1.2.2
LTS Haskell 22.42:1.2.2
Stackage Nightly 2024-11-24:1.2.3
Latest on Hackage:1.2.3

See all snapshots universe appears in

BSD-3-Clause licensed by Daniel Wagner
Maintained by [email protected]
This version can be pinned in stack with:universe-1.2.2@sha256:e0c26e2a8a021422d707118cbb1b9a1f0d332a8beab56fa6a6926fee01175e7d,1791

Module documentation for 1.2.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 also provides instances from @universe-instances-*" packages.