Parameter Operation.Core

type ('a, 'b) t

The type held by the Bifunctor

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

Mapping over both arguments at the same time.

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

Mapping over the first argument.

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

Mapping over the second argument.