`sig
type ('a, 'b) t = 'a * 'b
external first : 'a * 'b -> 'a = "%field0"
external second : 'a * 'b -> 'b = "%field1"
val mapn : ('a -> 'b) -> ('c -> 'd) -> 'a * 'c -> 'b * 'd
val map1 : ('a -> 'b) -> 'a * 'c -> 'b * 'c
val map2 : ('a -> 'b) -> 'c * 'a -> 'c * 'b
val curry : ('a * 'b -> 'c) -> 'a -> 'b -> 'c
val uncurry : ('a -> 'b -> 'c) -> 'a * 'b -> 'c
val printn :
('a BatIO.output -> 'b -> unit) ->
('a BatIO.output -> 'c -> unit) -> 'a BatIO.output -> 'b * 'c -> unit
val print :
('a BatIO.output -> 'b -> unit) -> 'a BatIO.output -> 'b * 'b -> unit
val compare :
?cmp1:('a -> 'a -> int) ->
?cmp2:('b -> 'b -> int) -> 'a * 'b -> 'a * 'b -> int
type 'a enumerable = 'a * 'a
val enum : 'a enumerable -> 'a BatEnum.t
val of_enum : 'a BatEnum.t -> 'a enumerable
type 'a mappable = 'a * 'a
val map : ('a -> 'b) -> 'a mappable -> 'b mappable
end`