Bifunctor.Operation
module Core : Preface_specs.Bifunctor.CORE
type ('a, 'b) t = ('a, 'b) Core.t
The type held by the Bifunctor.
Bifunctor
val replace_fst : 'a -> ('b, 'c) t -> ('a, 'c) t
Create a new ('a, 'b) t, replacing all values in the ('c, 'b) t by given a value of 'a.
('a, 'b) t
('c, 'b) t
'a
val replace_snd : 'a -> ('b, 'c) t -> ('b, 'a) t
Create a new ('b, 'a) t, replacing all values in the ('b, 'c) t by given a value of 'a.
('b, 'a) t
('b, 'c) t