package containers

  1. Overview
  2. Docs

Functions on slices.

  • since 3.6
type t = slice
val is_empty : t -> bool

Is the slice empty?

val length : t -> int

Length of the slice

val to_string : t -> string

Convert the slice into a string. Linear time and memory in length slice

OCaml

Innovation. Community. Security.