Instances of standard classes that are made possible by enumerations


Version on this page:1.1@rev:3
LTS Haskell 20.25:1.1.1@rev:3
Stackage Nightly 2023-06-10:1.1.1@rev:3
Latest on Hackage:1.1.1@rev:3

See all snapshots universe-reverse-instances appears in

BSD-3-Clause licensed by Daniel Wagner
Maintained by me@dmwit.com
This version can be pinned in stack with:universe-reverse-instances-1.1@sha256:fce333684c19a3747a567d06307ad796c98a19b1705e92328bb9c3bf6e6477fe,1325
Used by 2 packages in lts-16.31(full list with versions):

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]