@hackage universe-reverse-instances1.1.2
Instances of standard classes that are made possible by enumerations
Categories
License
BSD-3-Clause
Maintainer
me@dmwit.com
Links
Versions
Installation
Tested Compilers
Dependencies (3)
- base >=4.3 && <4.23
- containers >=0.4 && <0.9
- universe-base >=1.1.4 && <1.1.5 Show all…
Dependents (3)
@hackage/acme-everything, @hackage/lattices, @hackage/universe
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]