Files
aji/docs/reference/effects.md
T
dev fb4338cea6 spec: accept RFC 0006 and integrate effects and capabilities
- spec 05 §9-§12: flat effects, checking rule, capability model,
  instantiation by parameter name, lifetime, fallible narrowing,
  intrinsic calls, runtime
- spec 07 §8.9, 07a (cap.narrow, intrinsic, run result), 08 stage
  order, 11 not_instantiated outcome
- new reference/effects.md and reference/capabilities.md (kinds,
  scopes, built-in cap_error)
- features effects and capabilities published
- Q-011, Q-012 resolved
2026-10-04 13:36:46 +03:00

1.2 KiB

Effect Registry

Normative registry of effect names for AIR format 0 (spec 05 §9). Effects are flat atoms: no effect implies another. In a module that declares the feature effects, an unregistered name is E0004.

Effect Authority required Introduced by
atomic none Phase 5
atomic.weak none Phase 5
clock.read cap<clock.read> RFC 0007
ffi none (unsafe boundary, spec 13) Phase 7
fs.read cap<fs.read> RFC 0007
fs.write cap<fs.write> RFC 0007
io.read cap<io.read> RFC 0007
io.write cap<io.write> RFC 0007
mem.alloc cap<mem.alloc> RFC 0008
mem.map cap<mem.map> later
net.connect cap<net.connect> RFC 0007
net.listen cap<net.listen> RFC 0007
net.read cap<net.read> RFC 0007
net.write cap<net.write> RFC 0007
process.env cap<process.env> later
process.spawn cap<process.spawn> later
random.read cap<random.read> RFC 0007
task.spawn none Phase 3
thread.block none Phase 3
thread.spawn none Phase 3
unsafe none (unsafe boundary, spec 13) Phase 2