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

Stackage Nightly 2019-06-17:
Latest on Hackage:

See all snapshots universe-dependent-sum appears in

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

Module documentation for

This version can be pinned in stack with:universe-dependent-sum-,2019

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


comments powered byDisqus