package containers-data

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

containers-3.13.tbz
sha256=372df86e2a41e86c959c28a3392eb2ffd89754d1e5af2aaa09537654af57b1da
sha512=7d87d44065612095fa0342a9c95a2c4cfdf73d5af47c6fce24262cf2870c36dee70ebecd056113aa9c1643256bc032c08530f5083061c44602c0da5a132c2d6c

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