Module type Closed.WITH_DIMAP_AND_CLOSED

Minimum interface using dimap and closed.

type ('a, 'b) t

The type held by the Closed Profunctor.

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

Act on the input type of a function.