Module type Profunctor.WITH_DIMAP

Minimal interface using dimap.

type ('a, 'b) t

The type held by the Profunctor.

val dimap : ('a -> 'b) -> ('c -> 'd) -> ('b, 'c) t -> ('a, 'd) t