universe: A class for finite and recursively enumerable types.

[ bsd3, data, library ] [ Propose Tags ] [ Report a vulnerability ]

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.

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.0, 0.1, 0.2, 0.3, 0.4, 0.4.0.1, 0.4.0.2, 0.4.0.3, 0.4.0.4, 0.4.0.5, 0.5, 1.0, 1.1, 1.1.1, 1.2, 1.2.1, 1.2.2, 1.2.3
Change log changelog
Dependencies universe-base (>=1.1.4 && <1.1.5), universe-instances-extended (>=1.1.4 && <1.1.5), universe-reverse-instances (>=1.1.2 && <1.1.3), universe-some (>=1.2.2 && <1.2.3) [details]
Tested with ghc ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.8 || ==9.6.5 || ==9.8.2 || ==9.10.1
License BSD-3-Clause
Copyright Daniel Wagner 2014
Author Daniel Wagner
Maintainer me@dmwit.com
Category Data
Home page https://github.com/dmwit/universe
Source repo head: git clone https://github.com/dmwit/universe(universe)
Uploaded by phadej at 2024-05-16T12:49:47Z
Distributions LTSHaskell:1.2.2, NixOS:1.2.2, Stackage:1.2.3
Reverse Dependencies 2 direct, 0 indirect [details]
Downloads 12481 total (81 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2024-05-16 [all 1 reports]