Effects
9 pages
Acc
Accumulator effect: emit/emitAll/collect for incremental list building.
collect
Read the current accumulated...
Choice
Non-deterministic choice effect: choose/fail/guard with list handler.
choose
Non-deterministic choice from a list of...
Conditions
CL-style condition system: signal/warn with restart-based recovery.
collectConditions
Collecting handler: accumulates...
Error
Error effect with contextual messages and multiple handler strategies.
collecting
Collecting error handler:...
Linear
Graded linear resource tracking: acquire/consume/release with usage enforcement.
Each resource gets a capability token...
Reader
Read-only environment effect: ask/asks/local with standard handler.
ask
Read the current environment.
ask :...
State
Mutable state effect: get/put/modify with standard handler.
get
Read the current state. Returns a Computation that,...
Typecheck
Reusable typeCheck handlers: strict (throw), collecting (accumulate), logging (record all).
collecting
Collecting...
Writer
Append-only output effect: tell/tellAll with list-collecting handler.
handler
Standard writer handler. Collects tell...