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 show_element : element -> Ppx_deriving_runtime.string
val make_element : old_index:int -> new_index:(int * int) -> element
val hash_fold_element : Base.Hash.state -> element -> Base.Hash.state
val hash_element : element -> Base.Hash.hash_value
type t = element list
val compare : t -> t -> Ppx_deriving_runtime.int
val hash_fold_t : Base.Hash.state -> t -> Base.Hash.state
val hash : t -> Base.Hash.hash_value
val apply_exn : t -> int -> int * int
val apply_inverse_exn : t -> (int * int) -> int
val sorting : cmp:('a -> 'a -> int) -> 'a0 list -> t * 'a1 list list
OCaml

Innovation. Community. Security.