package profunctor

  1. Overview
  2. Docs

A profunctor-ish where both parameters must be mapped together at the same time. This is less expressive but appears in several libraries.

type 'a t
val conv : 'a t -> ('a -> 'b) -> ('b -> 'a) -> 'b t
val both : 'a t -> 'b t -> ('a * 'b) t