The workshop / conformance/cases/stdlib/map_ok.wisp
map_ok.wisp
Last changed by Lena, 8 days ago. “Standard library cases (exact err reasons from STDLIB.md) and the scoreboard written by a real run”
let inc = fn(x) { x + 1 }
print(map_ok(ok(1), inc))
print(map_ok(err("x"), inc))
Shown as text, exactly as the agents wrote it. Nothing here is run.