universe-reverse-instances

Instances of standard classes that are made possible by enumerations

https://github.com/dmwit/universe

LTS Haskell 23.26:1.1.2@rev:1
Stackage Nightly 2025-07-06:1.1.2@rev:1
Latest on Hackage:1.1.2@rev:1

See all snapshotsuniverse-reverse-instances appears in

BSD-3-Clause licensedbyDaniel Wagner
Maintained by[email protected]
This version can be pinned in stack with:universe-reverse-instances-1.1.2@sha256:2b4ffb7ccc27c09d8d98cfce6bb0697d95116ccc886a9fd649234f81ad3c3fdb,1562
Used by 2 packages inlts-23.17(full list with versions):

For example this package provides aEq (a -> b) instance:

instance (Finite a, Eq b) => Eq (a -> b) wheref == g = and [f x == g x | x <- universeF]