package pacomb
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Dependant association lists.
Type of tokens used to make keys unique, and carrying a type. This type is not intended to be extended by the used, hence it is private.
Type of a key for a value of type 'a
. It contains a unique token and the corresponding (very efficient) equality test.
val new_key : unit -> 'a key
new_key ()
generates a new unique key for a value of type 'a
.
val empty : t
empty
is the empty association list.
val length : t -> int
length l
returns the size of the association list l
.
add_key v l
is equivalent to let k = new_key () in (k, add k v l)
.
find k l
returns the latest inserted value with key k
in list l
. The exception Not_found
is raised if there is none.
remove k l
removes the latest inserted binding of the key k
in l
. If there is no such binding, then Not_found
is raised.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>