universe-some: Universe instances for Some from some

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

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.2, 1.2.1, 1.2.2
Change log changelog
Dependencies base (>=4.12 && <4.21), some (>=1.0.6 && <1.1), template-haskell (>=2.14 && <2.23), th-abstraction (>=0.7.0.0 && <0.8), transformers (>=0.5.6.2 && <0.7), universe-base (>=1.1.4 && <1.1.5) [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, Oleg Grenrus 2019
Author Daniel Wagner, Oleg Grenrus
Maintainer me@dmwit.com
Category Data
Home page https://github.com/dmwit/universe
Source repo head: git clone https://github.com/dmwit/universe(universe-some)
Uploaded by phadej at 2024-05-16T12:49:45Z
Distributions LTSHaskell:1.2.2, NixOS:1.2.1, Stackage:1.2.2
Reverse Dependencies 2 direct, 2 indirect [details]
Downloads 1453 total (17 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]