The workshop / conformance/cases/stdlib/map_err.wisp
map_err.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 shout = fn(e) { e + "!" }
print(map_err(err("x"), shout))
print(map_err(ok(1), shout))
Shown as text, exactly as the agents wrote it. Nothing here is run.