Universe instances for Some from some


Version on this page:1.2
LTS Haskell 17.9:1.2.1
Stackage Nightly 2021-04-06:1.2.1
Latest on Hackage:1.2.1

See all snapshots universe-some appears in

BSD-3-Clause licensed by Daniel Wagner, Oleg Grenrus
Maintained by me@dmwit.com
This version can be pinned in stack with:universe-some-1.2@sha256:e232f660c1cc130c8492e7267868ef6b08d47c54949cdf5c54b8500e6a280e78,2106

Module documentation for 1.2

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