package containers-data

  1. Overview
  2. Docs
A set of advanced datatypes for containers

Install

Dune Dependency

Authors

Maintainers

Sources

containers-3.16.tbz
sha256=1e7992cb2e59c0d2290d1b6c3a31531b3f310be6170b8ef3dde17ccd876b5b79
sha512=bb124e69ad0690f88393e18eee499be07761e767593558867aab32f643466b43258ced503170b154ca3b56dbd68987abd6d9438cf473707ec9866511589a5b84

doc/containers-data/CCTrie/index.html

Module CCTrieSource

Prefix Tree

Sourcetype 'a iter = ('a -> unit) -> unit
Sourcetype 'a ktree = unit -> [ `Nil | `Node of 'a * 'a ktree list ]

Signatures

A Composite Word

Words are made of characters, who belong to a total order

Sourcemodule type WORD = sig ... end
Sourcemodule type S = sig ... end

Implementation

Sourcemodule Make (W : WORD) : S with type key = W.t and type char_ = W.char_
Sourcemodule type ORDERED = sig ... end
Sourcemodule MakeArray (X : ORDERED) : S with type key = X.t array and type char_ = X.t
Sourcemodule MakeList (X : ORDERED) : S with type key = X.t list and type char_ = X.t
Sourcemodule String : S with type key = string and type char_ = char
OCaml

Innovation. Community. Security.