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/CCMultiMap/index.html

Module CCMultiMapSource

Map that can map key to several values

Sourcetype 'a iter = ('a -> unit) -> unit
Sourcemodule type S = sig ... end
Sourcemodule type OrderedType = sig ... end
Sourcemodule Make (K : OrderedType) (V : OrderedType) : S with type key = K.t and type value = V.t

Two-Way Multimap

Represents n-to-n mappings between two types. Each element from the "left" is mapped to several right values, and conversely.

  • since 0.3.3
Sourcemodule type BIDIR = sig ... end
Sourcemodule MakeBidir (L : OrderedType) (R : OrderedType) : BIDIR with type left = L.t and type right = R.t
OCaml

Innovation. Community. Security.