universe

A class for finite and recursively enumerable types.

https://github.com/dmwit/universe

Version on this page:1.1@rev:1
LTS Haskell 22.14:1.2.2
Stackage Nightly 2024-03-28:1.2.2
Latest on Hackage:1.2.2

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.1@sha256:b0ccf16e8fa5ef8c1b882afdc12d2750d383d2a109d3642e7b17e6889c7e6918,1462

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