package core-and-more

  1. Overview
  2. Docs
type element = {
  1. old_index : int;
  2. new_index : int * int;
}
val compare_element : element -> element -> Ppx_deriving_runtime.int
val pp_element : Ppx_deriving_runtime.Format.formatter -> element -> Ppx_deriving_runtime.unit
val show_element : element -> Ppx_deriving_runtime.string
val make_element : old_index:int -> new_index:(int * int) -> element
val hash_fold_element : Ppx_hash_lib.Std.Hash.state -> element -> Ppx_hash_lib.Std.Hash.state
val hash_element : element -> Ppx_hash_lib.Std.Hash.hash_value
type t = element list
val compare : t -> t -> Ppx_deriving_runtime.int
val pp : Ppx_deriving_runtime.Format.formatter -> t -> Ppx_deriving_runtime.unit
val show : t -> Ppx_deriving_runtime.string
val hash_fold_t : Ppx_hash_lib.Std.Hash.state -> t -> Ppx_hash_lib.Std.Hash.state
val hash : t -> Ppx_hash_lib.Std.Hash.hash_value
val apply_exn : t -> int -> int * int
val apply_inverse_exn : t -> (int * int) -> int
val sorting : cmp:('a -> 'a -> int) -> 'a list -> t * 'a list list
OCaml

Innovation. Community. Security.