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/10-assign-streamlining branch from 647cafb to f2eeae6 Compare July 17, 2026 11:26
@lionel-
lionel- force-pushed the oak-nse/10-assign-streamlining branch from f2eeae6 to 4cf3864 Compare July 17, 2026 13:55
@lionel-
lionel- force-pushed the oak-nse/10-assign-streamlining branch from 4cf3864 to 0a8bf17 Compare July 22, 2026 12:46
@lionel-
lionel- force-pushed the oak-nse/10-assign-streamlining branch from 0a8bf17 to 01ec05f Compare July 22, 2026 15:25
@lionel-
lionel- force-pushed the oak-nse/10-assign-streamlining branch from 01ec05f to 49c5d8d Compare July 28, 2026 12:27
@lionel-
lionel- force-pushed the oak-nse/10-assign-streamlining branch 2 times, most recently from 6dac745 to 6acf914 Compare July 30, 2026 15:24
@lionel-
lionel- force-pushed the oak-nse/10-assign-streamlining branch 2 times, most recently from 3b6d0a6 to 4e42a0e Compare July 31, 2026 12:28
@lionel-
lionel- force-pushed the oak-nse/10-assign-streamlining branch from 4e42a0e to f25116d Compare July 31, 2026 14:23
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