package base_trie

  1. Overview
  2. Docs
type 'a seq

Sequential collections.

type 'a elt

Elements of a collection.

type 'a t

Iterators into a collection.

val start : 'a seq -> 'a t

Creates an iterator at the first element of a collection.

val is_finished : 'a t -> 'a seq -> Base.bool

Reports true when the iterator is past all elements of a collection.

val get_exn : 'a t -> 'a seq -> 'a elt

Gets the current element of a collection. May raise if is_finished t.

val next_exn : 'a t -> 'a seq -> 'a t

Returns an iterator past the current element. May raise if is_finished t.

OCaml

Innovation. Community. Security.