← Packages / bastion / Capabilities

IO

in bastion v0.4.0

v0.4.0 declares IO. v0.3.1 did not. Declaring is the event recorded here — whether the capability was newly exercised is a separate claim the registry cannot make.

Where it is declared

examples/blog.march:20Declared nothing in the previous version
17-- forge run examples/blog.march
18
19mod Blog do
20 needs IO
21
22 -- ── Hardcoded post store ─────────────────────────────────────────────────
23 -- Each post is a triple (id, title, body). All strings so we can match the