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

[ bsd3, data, deprecated, library ] [ Propose Tags ] [ Report a vulnerability ]
Deprecated in favor of universe-some

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

classes.

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 1.1, 1.1.0.1, 1.2, 1.2.0.1, 1.3, 1.3.1
Dependencies base (>=4.3 && <4.14), dependent-sum (>=0.3.2.2 && <0.7), some (>=1 && <1.1), universe-base (>=1.1 && <1.1.2), universe-some (>=1.2 && <1.3) [details]
Tested with ghc ==8.8.1 || ==8.6.5 || ==8.4.4 || ==8.2.2 || ==8.0.2 || ==7.10.3 || ==7.8.4 || ==7.6.3 || ==7.4.2 || ==7.0.4
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 2019-09-12T13:36:56Z
Distributions LTSHaskell:1.3.1, NixOS:1.3, Stackage:1.3.1
Reverse Dependencies 1 direct, 2 indirect [details]
Downloads 2048 total (4 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2019-09-12 [all 1 reports]