bench
Docs
Dark theme
Run ▶
Loading WASM environment...
Quickstart
Language + Concurrency
Functions + List Ops
Ranges + Slices
For Expression + Then Block
Match with Guards
Maps, Sets, Objects
Collections: Ordered Tree Index
Recover Operator (?)
Tasks + then()
Join Group (& { ... })
Channels Stream
Simulated K8s: Pod Logs Fan-in
Landing: Fibonacci
Landing: Concurrency + Race
Landing: Tasks + then()
Landing: Channels Stream
Landing: Recover Runtime Error
Landing: Destructuring
Landing: Strings Index/Slice
Landing: Match + Guards
Landing: Recover + Match
Landing: Rate Limiter (Sliding Window)
Landing: Rate Limiter (Token Bucket)
Auto Run
log("hello:", "Karl") let nums = 1..6 log("squares:", nums.map(x -> x * x)) // spawn starts a background task let c = channel() spawn (ch -> ch.send("Hello from thread!"))(c) let [msg, _closed] = c.recv() log("received:", msg)