package reason-standard
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Construct a Map which can be keyed by any data type using the polymorphic compare
function.
val empty : unit -> ('key, 'value) t
A map with nothing in it.
val singleton : key:'key -> value:'value -> ('key, 'value) t
Create a map from a key and value
Examples
Map.Poly.singleton ~key:false ~value:1 |> Map.toList = [(false, 1)]
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>