universe-some

Universe instances for Some from some https://github.com/dmwit/universe

Version on this page:1.2@rev:1
LTS Haskell 16.20:1.2@rev:2
Stackage Nightly 2020-10-26:1.2@rev:2
Latest on Hackage:1.2@rev:2

See all snapshots universe-some appears in

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

Module documentation for 1.2

This version can be pinned in stack with:universe-some-1.2@sha256:e3e0c487706f22ea52750250669f1dc1a56857fb0fd41ef5505453060867a1e7,2138

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.