universe-reverse-instances

Instances of standard classes that are made possible by enumerations

https://github.com/dmwit/universe

LTS Haskell 17.4:1.1.1
Stackage Nightly 2021-02-25:1.1.1
Latest on Hackage:1.1.1

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.1@sha256:0eec212d42d5be2c157323792b254bf511cd8d6bd0c23920e78709b509fa68cb,1622
Used by 2 packages in nightly-2021-01-15(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]