universe-reverse-instances: Instances of standard classes that are made possible by enumerations

[ bsd3, data, library ] [ Propose Tags ] [ Report a vulnerability ]

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]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 1.0, 1.1, 1.1.1, 1.1.2
Change log changelog
Dependencies base (>=4.3 && <4.21), containers (>=0.4 && <0.8), universe-base (>=1.1.4 && <1.1.5) [details]
Tested with ghc ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.8 || ==9.6.5 || ==9.8.2 || ==9.10.1
License BSD-3-Clause
Copyright Daniel Wagner 2014
Author Daniel Wagner
Maintainer me@dmwit.com
Category Data
Home page https://github.com/dmwit/universe
Source repo head: git clone https://github.com/dmwit/universe(universe-reverse-instances)
Uploaded by phadej at 2024-05-16T12:49:44Z
Distributions Arch:1.1.2, LTSHaskell:1.1.2, NixOS:1.1.1, Stackage:1.1.2
Reverse Dependencies 3 direct, 70 indirect [details]
Downloads 9531 total (66 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2024-05-16 [all 1 reports]