Instances of standard classes that are made possible by enumerations https://github.com/dmwit/universe

Version on this page:1.1@rev:2
LTS Haskell 15.5:1.1@rev:2
Stackage Nightly 2020-03-28:1.1@rev:3
Latest on Hackage:1.1@rev:3

See all snapshots universe-reverse-instances appears in

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

Module documentation for 1.1

This version can be pinned in stack with:universe-reverse-instances-1.1@sha256:9d46e98a81556a54c5be3346bc6e087cbd0036255eeb34cb28b3e59ab48646d3,1283

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

instance (Finite a, Eq b) => Eq (a -> b) where
f == g = and [f x == g x | x <- universeF]
Used by 2 packages in nightly-2020-03-25(full list with versions):