In favour of


Universe instances for types from dependent-sum

LTS Haskell 22.29:1.3@rev:4
Stackage Nightly 2024-07-20:1.3.1
Latest on Hackage:1.3.1

See all snapshots universe-dependent-sum appears in

BSD-3-Clause licensed by Daniel Wagner
Maintained by [email protected]
This version can be pinned in stack with:universe-dependent-sum-1.3.1@sha256:eeeb6d43614331bf5f79672c2d167e346c9df7495fe6772e00f5d4c8d3212cf6,1414

Module documentation for 1.3.1

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