Universe instances for Some from some


Version on this page:1.2.1@rev:2
LTS Haskell 20.16:1.2.1@rev:5
Stackage Nightly 2023-03-28:1.2.1@rev:5
Latest on Hackage:1.2.1@rev:5

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.1@sha256:7f80fc19e5546f638697392c06458d1251fa8d3a97a4419e14a2779eaf435f41,2461

Module documentation for 1.2.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