Skip to content

Streamline dispatch of Assign operators#1348

Open
lionel- wants to merge 1 commit into
oak-nse/9-unquotefrom
oak-nse/10-assign-streamlining
Open

Streamline dispatch of Assign operators#1348
lionel- wants to merge 1 commit into
oak-nse/9-unquotefrom
oak-nse/10-assign-streamlining

Conversation

@lionel-

@lionel- lionel- commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Progress towards #1338
Branched from #1347

Refactor, no behavior change. Assign effects come in two variants, a call (assign("x", v)) and a binding operator (x %<>% f), and until now only the call went through a handler. The operator was hand-built in the builder, using the registry only to check a handler was present, and the operator registry entries carried a phantom position: 0 that was never read.

The refactor moves the operator logic into the handler layer, symmetric with calls. Supporting infra: A new EffectSite (Call | Operator) to disambiguate the variants, and a new AssignHandler trait.

@lionel-
lionel- force-pushed the oak-nse/10-assign-streamlining branch from 19f723f to 647cafb Compare July 17, 2026 08:56
@lionel-
lionel- force-pushed the oak-nse/9-unquote branch from bdc02fa to 96dff66 Compare July 17, 2026 08:56
@lionel-
lionel- force-pushed the oak-nse/10-assign-streamlining branch from 647cafb to f2eeae6 Compare July 17, 2026 11:26
@lionel-
lionel- force-pushed the oak-nse/9-unquote branch from 96dff66 to dacdce8 Compare July 17, 2026 11:26
@lionel-
lionel- force-pushed the oak-nse/9-unquote branch from dacdce8 to 604935e Compare July 17, 2026 13:55
@lionel-
lionel- force-pushed the oak-nse/10-assign-streamlining branch from f2eeae6 to 4cf3864 Compare July 17, 2026 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant