Support.Pair
map ~fst ~snd (x, y)
is (fst x, snd y)
.
val pp :
(Format.formatter -> 'a -> unit) ->
(Format.formatter -> 'b -> unit) ->
Format.formatter ->
('a * 'b) ->
unit
val show :
(Format.formatter -> 'a -> unit) ->
(Format.formatter -> 'b -> unit) ->
('a * 'b) ->
string