universe-some

Universe instances for Some from some

https://github.com/dmwit/universe

Version on this page:1.2.1@rev:3
LTS Haskell 22.18:1.2.1@rev:6
Stackage Nightly 2024-04-22:1.2.1@rev:6
Latest on Hackage:1.2.1@rev:6

See all snapshots universe-some appears in

BSD-3-Clause licensed by Daniel Wagner, Oleg Grenrus
Maintained by [email protected]
This version can be pinned in stack with:universe-some-1.2.1@sha256:1274d1f978067179f368e7ea0d9108cc0f9aaa7837fdb5c667474968a57258b1,2475

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

classes.