A class for finite and recursively enumerable types. https://github.com/dmwit/universe

Version on this page:1.1
LTS Haskell 14.6:1.1.1
Stackage Nightly 2019-09-16:1.1.1
Latest on Hackage:1.2

See all snapshots universe appears in

BSD-3-Clause licensed by Daniel Wagner
Maintained by me@dmwit.com

Module documentation for 1.1

This version can be pinned in stack with:universe-1.1@sha256:0bc2e38bdf953cb975f44f8df504c06afbc719feca0b7724b529ef2684719217,1440

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.

comments powered byDisqus