package tablecloth-native
Module Map.Int
Construct a Map with Ints for keys.
type nonrec 'value t = 'value Of(Tablecloth__.TableclothInt).tval empty : 'value tA map with nothing in it.
val singleton : key:int -> value:'value -> 'value tCreate a map from a key and value
Examples
Map.Int.singleton ~key:1 ~value:"Ant" |> Map.toList = [(1, "Ant")]val from_array : (int * 'value) array -> 'value tval from_list : (int * 'value) list -> 'value t