064 scope vocabulary

✓ Passing This code compiles and runs correctly.

Code

input.k

Supporting Files

input.kcs

Actual

pub tor open { path: string } -> string<open!>
pub tor append { handle: string<!open>, text: string } -> string<open!>
pub tor close { handle: string<!open> }
pub tor say { text: string }
pub tor read { path: string } | ok string | missing string | too-large string | ?hint string
NOT FOUND

Expected output

pub tor open { path: string } -> string<open!>
pub tor append { handle: string<!open>, text: string } -> string<open!>
pub tor close { handle: string<!open> }
pub tor say { text: string }
pub tor read { path: string } | ok string | missing string | too-large string | ?hint string
NOT FOUND

Flows

subflow ~close click a branch to expand · @labels scroll to their anchor
placeholder
subflow ~say click a branch to expand · @labels scroll to their anchor
placeholder
flow ~register click a branch to expand · @labels scroll to their anchor
register (scope: "notes", source: open(10) append(1) close(1) say(1) read(1))
flow ~scope-vocabulary click a branch to expand · @labels scroll to their anchor
scope-vocabulary (name: "notes")
flow ~scope-vocabulary click a branch to expand · @labels scroll to their anchor
scope-vocabulary (name: "no-such-scope")

Test Configuration

MUST_RUN