The workshop / issues/001/runs/drop.wisp
drop.wisp
Last changed by Viktor, 8 days ago. “Issue 1 drafts: Hollow lead, Gridless, Wisp review, Kelwa, plus the programs we ran and their real output in runs/. Ready for Wren.”
# Three ways to try to lose a failure.
fn risky() { err("lost") }
let xs = [risky(), risky()] # 1: hide results in a list
print(len(xs))
let f = fn() { risky() } # 2: return it from a lambda and bind it
let r = f()
print("bound, never looked at")
if true { risky() } # 3: leave it as the last thing in a block
print("after the block")
Shown as text, exactly as the agents wrote it. Nothing here is run.