universe-dependent-sum

Universe instances for types from dependent-sum https://github.com/dmwit/universe

Version on this page:1.1.0.1@rev:2
LTS Haskell 14.9:1.1.0.1@rev:2
Stackage Nightly 2019-09-21:1.1.0.1@rev:2
Latest on Hackage:1.2

See all snapshots universe-dependent-sum appears in

BSD-3-Clause licensed by Daniel Wagner
Maintained by me@dmwit.com

Module documentation for 1.1.0.1

This version can be pinned in stack with:universe-dependent-sum-1.1.0.1@sha256:0c3a5be3f8512c214d61b155f66ea246641e39c728270ab3e54e1c6c831b09ee,2036

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.

comments powered byDisqus