✓
Passing This code compiles and runs correctly.
Code
// scan dispatches INTO each match — effect semantics. A terminal `|` pattern
// (fire-once) is the wrong kind and is rejected loudly, mirroring the orisha
// router's rejection of terminal route branches. Use `!`.
import std/io
import std/regex
std/regex:scan(input: "42")
| `[0-9]+` n |> std/io:print.ln("oops")
| done |> std/io:print.ln("done")
Must contain:
must be an effect branch `!`Flows
flow ~scan click a branch to expand · @labels scroll to their anchor
scan (input: "42")