033 println koru scope

✓ Passing This code compiles and runs correctly.

Code

// Test: print.ln with Koru-scoped bindings (from capture/for)

~import "$std/io"
~import "$std/control"

// Use ~capture to create a Koru binding, then print it
~capture(expr: { total: @as(i32, 0) })
| as |> captured { total: 42 }
| captured final |> std.io:print.ln("Captured total: {{ final.total:d }}")
input.kz

Expected Output

Captured total: 42

Test Configuration

MUST_RUN