package core_kernel

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Signature for a 3-tuple module

Signature for a 3-tuple module

type ('a, 'b, 'c) t = 'a * 'b * 'c
include Ppx_sexp_conv_lib.Sexpable.S3 with type ('a, 'b, 'c) t := ('a, 'b, 'c) t
val t_of_sexp : (Sexplib0.Sexp.t -> 'a) -> (Sexplib0.Sexp.t -> 'b) -> (Sexplib0.Sexp.t -> 'c) -> Sexplib0.Sexp.t -> ('a, 'b, 'c) t
val sexp_of_t : ('a -> Sexplib0.Sexp.t) -> ('b -> Sexplib0.Sexp.t) -> ('c -> Sexplib0.Sexp.t) -> ('a, 'b, 'c) t -> Sexplib0.Sexp.t
include Typerep_lib.Typerepable.S3 with type ('a, 'b, 'c) t := ('a, 'b, 'c) t
val typerep_of_t : 'a Typerep_lib.Std_internal.Typerep.t -> 'b Typerep_lib.Std_internal.Typerep.t -> 'c Typerep_lib.Std_internal.Typerep.t -> ('a, 'b, 'c) t Typerep_lib.Std_internal.Typerep.t
val typename_of_t : 'a Typerep_lib.Typename.t -> 'b Typerep_lib.Typename.t -> 'c Typerep_lib.Typename.t -> ('a, 'b, 'c) t Typerep_lib.Typename.t
val create : 'a -> 'b -> 'c -> ('a, 'b, 'c) t
val curry : (('a, 'b, 'c) t -> 'd) -> 'a -> 'b -> 'c -> 'd
val uncurry : ('a -> 'b -> 'c -> 'd) -> ('a, 'b, 'c) t -> 'd
val equal : eq1:('a -> 'a -> Base.Bool.t) -> eq2:('b -> 'b -> Base.Bool.t) -> eq3:('c -> 'c -> Base.Bool.t) -> ('a, 'b, 'c) t -> ('a, 'b, 'c) t -> Base.Bool.t
val compare : cmp1:('a -> 'a -> Base.Int.t) -> cmp2:('b -> 'b -> Base.Int.t) -> cmp3:('c -> 'c -> Base.Int.t) -> ('a, 'b, 'c) t -> ('a, 'b, 'c) t -> Base.Int.t
val get1 : ('a, _, _) t -> 'a
val get2 : (_, 'a, _) t -> 'a
val get3 : (_, _, 'a) t -> 'a
val map1 : f:('a -> 'd) -> ('a, 'b, 'c) t -> ('d, 'b, 'c) t
  • deprecated [since 2015-12] use map_fst
val map2 : f:('b -> 'd) -> ('a, 'b, 'c) t -> ('a, 'd, 'c) t
  • deprecated [since 2015-12] use map_snd
val map3 : f:('c -> 'd) -> ('a, 'b, 'c) t -> ('a, 'b, 'd) t
  • deprecated [since 2015-12] use map_trd
val map_fst : ('a, 'b, 'c) t -> f:('a -> 'd) -> ('d, 'b, 'c) t
val map_snd : ('a, 'b, 'c) t -> f:('b -> 'd) -> ('a, 'd, 'c) t
val map_trd : ('a, 'b, 'c) t -> f:('c -> 'd) -> ('a, 'b, 'd) t
OCaml

Innovation. Community. Security.