Skip to content

s2, s2c, lib: no written {r: Region} binders, inference supplies them (E4) - #39

Merged
vic merged 1 commit into
mainfrom
e4-no-region-binders
Nov 9, 2026
Merged

vic merged 1 commit into
mainfrom
e4-no-region-binders

Conversation

@vic

@vic vic commented Nov 9, 2026

Copy link
Copy Markdown
Owner

E4 (bead vic-yjou.4): s2, s2c and lib no longer write {r: Region}. Effect row inference supplies every Region.

  • 1081 binders removed by one sed (each is {r: Region} ( after a name or ]). No code named r directly.
  • The tests keep their written binders: they are still allowed (Q-RT3) and they cover choosing a capability (f{a}(x)).
  • The types test chose Coll.rev{a}, which now has only an inferred row. It chooses on a test-local rv with a written binder instead (rv[I64] caps a).
  • Bootstrap fixpoint holds. The seed C shrinks from 3.42 MB to 3.30 MB. Speed is not measured in this PR.

Local gate: 202 ok, 0 FAIL. Armed control: when implicit binders are not added (Ty.rowBinds returns acc), s2c no longer compiles itself (964 unhandled Console, plus Args and Files).

…ce supplies every Region (1081 binders removed); types test chooses a capability on a local def with a written binder
@vic
vic merged commit f1c8046 into main Nov 9, 2026
3 checks passed
@vic
vic deleted the e4-no-region-binders branch November 17, 2026 16:49
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