universe-base: 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 is slim package definiting only the type-classes and instances for types in GHC boot libraries. For more instances check universe-instances-* packages.

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 1.0, 1.0.1, 1.0.2, 1.0.2.1, 1.1, 1.1.1, 1.1.2, 1.1.3, 1.1.3.1, 1.1.4
Change log changelog
Dependencies base (>=4.12 && <4.21), containers (>=0.6.0.1 && <0.8), ghc-prim, OneTuple (>=0.4.2 && <0.5), tagged (>=0.8.8 && <0.9), transformers (>=0.5.6.2 && <0.7) [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 2014 Daniel Wagner
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-base)
Uploaded by phadej at 2024-05-16T12:49:43Z
Distributions Arch:1.1.4, Debian:1.1.1, LTSHaskell:1.1.3.1, NixOS:1.1.3.1, Stackage:1.1.4
Reverse Dependencies 19 direct, 7912 indirect [details]
Downloads 17895 total (219 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]