Module Contravariant.Core

Parameters

Signature

type 'a t = 'a Req.t

The type held by the Contravariant Functor.

val contramap : ('a -> 'b) -> 'b t -> 'a t

Mapping over from 'a to 'b over 'b t to 'a t.