@hackage / universe

A class for finite and recursively enumerable types.

Latest1.2.3

About

Metadata

  • Last updated , by phadej
  • License BSD-3-Clause
  • Maintained by: me@dmwit.com

  • Lottery factor: 0

Links

Installation

Tested Compilers

  1. 9.10.1
  2. 9.8.2
  3. 9.6.5
  4. 9.4.8
  5. 9.2.8
  6. 9.0.2
  7. 8.10.7
  8. 8.8.4
  9. 8.6.5

Readme

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.