universe-base: A class for finite and recursively enumerable types.

[ bsd3, data, library ] [ Propose Tags ]

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.

Versions [faq] 1.0, 1.0.1, 1.0.2, 1.0.2.1, 1.1, 1.1.1
Change log changelog
Dependencies base (>=4.3 && <4.15), containers (>=0.4.0.0 && <0.7), ghc-prim, nats (>=1.1.2 && <1.2), semigroups (>=0.18.2 && <0.20), tagged (>=0.8.4 && <0.9), transformers (>=0.3.0.0 && <0.6), transformers-compat (>=0.6.1 && <0.7), void (>=0.7.2 && <0.8) [details]
License BSD-3-Clause
Copyright 2014 Daniel Wagner
Author Daniel Wagner
Maintainer me@dmwit.com
Revised Revision 2 made by phadej at 2020-03-25T17:53:01Z
Category Data
Home page https://github.com/dmwit/universe
Source repo head: git clone https://github.com/dmwit/universe
this: git clone https://github.com/dmwit/universe(tag base-1.1)
Uploaded by phadej at 2019-06-29T17:30:21Z
Distributions Arch:1.1.1, Debian:1.0.2.1, LTSHaskell:1.0.2.1, NixOS:1.1.1, Stackage:1.1
Downloads 6769 total (166 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-06-29 [all 1 reports]

Modules

[Index] [Quick Jump]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees