universe-dependent-sum: Universe instances for types from dependent-sum

[ bsd3, data, library ] [ Propose Tags ]

A class for finite and recursively enumerable types and some helper functions for enumerating them defined in universe-base package:

class Universe a where universe :: [a]
class Universe a => Finite a where universeF :: [a]; universeF = universe

This package adds

class UniverseSome f where universeSome :: [Some f]
class UniverseSome f => FiniteSome f where universeFSome :: [Some f]; universeFSome = universe


Versions [faq] 1.1,, 1.2,
Dependencies base (>=4.3 && <4.15), dependent-sum (>= && <0.8), some (>=1 && <1.1), universe-base (>=1.1 && <1.1.2), universe-some (==1.2.*) [details]
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
this: git clone https://github.com/dmwit/universe(tag instances-dependent-sum-1.1)
Uploaded by phadej at Wed Mar 25 17:53:57 UTC 2020
Distributions NixOS:, Stackage:
Downloads 791 total (182 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 2020-03-25 [all 1 reports]


[Index] [Quick Jump]


Maintainer's Corner

For package maintainers and hackage trustees