eq library

Classes

Eq<A>
Defines an equality relation on a type A.
Monoid<A>
Defines a monoid for the Eq type.
Semigroup<A>
Defines a semigroup for the Eq type.

Functions

contramap<A, B>(B f(A a)) → Eq<A> Function(Eq<B>)
Transforms an Eq<B> into an Eq<A> using the given function.
fromEquals<A>(bool equals(A x, A y)) → Eq<A>
Creates an Eq from a given equality checking function.
getMonoid<A>() → BaseMonoid<Eq<A>>
Returns a monoid for the Eq type.
getSemigroup<A>() → BaseSemigroup<Eq<A>>
Returns a semigroup for the Eq type.