Effects
On this page
On this page
error exposes one op with strict/collecting/result
handler strategies. state declares EffState : Π(S:U). U with
get/put/modify and ships a kernel-term handle_State
head-normalised at run-entry by the trampoline bridge.
typecheck declares EffTypeCheck : Π(R:U). U with one report
op and six policy handlers: five fold a stream of membership
decisions, and strict throws on the first failure.
Sub-namespaces
errorerror-shortcut-lawserror-uniform-shortcut-lawsstatestate-shortcut-lawstypechecktypecheck-shortcut-laws
Source
src/experimental/desc-interp/effects/error-shortcut-laws.nixsrc/experimental/desc-interp/effects/error-uniform-shortcut-laws.nixsrc/experimental/desc-interp/effects/error.nixsrc/experimental/desc-interp/effects/state-shortcut-laws.nixsrc/experimental/desc-interp/effects/state.nixsrc/experimental/desc-interp/effects/typecheck-shortcut-laws.nixsrc/experimental/desc-interp/effects/typecheck.nix