package missinglib

  1. Overview
  2. Docs
type slice_finish_t =
  1. | EndOfList
  2. | EndingOffset of int
  3. | Position of int
type slice_t = int * slice_finish_t
val slice_end : int
val slice_of_pair : (int * int) -> slice_t
val string_slice : string -> slice_t -> string
val list_slice : 'a list -> slice_t -> 'a list
val array_slice : 'a array -> slice_t -> 'a array
val generic_slice : ('a -> int -> int -> 'a) -> ('a -> int) -> 'a -> slice_t -> 'a
OCaml

Innovation. Community. Security.