@std/collections

Getting Started

No install step: the module ships inside the compiler. Import what you need:

.rnx
import { Map } from "@std/collections";

Quickstart

Copy this into a file or open it straight in the playground:

.rnx
import { Map } from "@std/collections";

let m = new Map<String, Int>();
m.set("a", 1);
m.set("b", 2);
m.clear();
print(m.len(), m.keys().join(","));