universe

A class for finite and recursively enumerable types.

https://github.com/dmwit/universe

Version on this page:1.2
LTS Haskell 17.9:1.2.1
Stackage Nightly 2021-04-19:1.2.1
Latest on Hackage:1.2.1

See all snapshots universe appears in

BSD-3-Clause licensed by Daniel Wagner
Maintained by me@dmwit.com
This version can be pinned in stack with:universe-1.2@sha256:23e7486709c06f6b0e048a505f0bd8b82a9c5d0937c8a13ca215ff20adde0a77,1448

Module documentation for 1.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.