package orsetto
A library of assorted structured data interchange languages
Install
Dune Dependency
Authors
Maintainers
Sources
r1.1.3.tar.gz
sha512=9b654edb663ae697563f150824047052f3b1bf760398f24bce6350553f031f73c46b6337239a1acd871e61238597ea92046809e3358290ff14d6ba671b449085
doc/orsetto.cf/Cf_bsearch_data/Map/Create/index.html
Module Map.Create
A simplified constructor for any total order.
Parameters
module R : Cf_relations.Order
Signature
val nil : 'a t
A distinguished empty map.
val empty : 'a t -> bool
Use empty m
to test if m
is an empty map.
Use of_seq s
to make a map by consuming the unordered sequence of domain and co-domain values s
.
Use search k m
to find the co-domain Some v
of k
in m
. Returns None
if k
is not in the domain of m
.
Use require k m
to find the co-domain of k
in m
. Raises Not_found
if k
is not in the domain of m
.
module Unsafe : sig ... end
Unsafe interfaces depend on the internal structure of maps.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page