package base_trie

  1. Overview
  2. Docs
type keychain_witness

Keychain elements must be usable as keys into ordered collections.

type t

Represents a keychain containing Key.t elements.

val sexp_of_t : t -> Sexplib0.Sexp.t
module Iterator : Iterator.S0 with type seq = t and type elt = Key.t

Implements iteration over the keys of a keychain.

val of_rev_keys : Key.t Base.list -> t

Constructs a keychain from keys. Proceeds in reverse order because it is most often applied to accumulators that are built up as stacks.

OCaml

Innovation. Community. Security.