Skip to content

RFM: 'first element of a list' nickname fork (roster first / list_head / list_at_optional) - #13380

Closed
gunbai-bot[bot] wants to merge 2 commits into
mainfrom
session/bright-fox-380-first-rfm
Closed

gunbai-bot[bot] wants to merge 2 commits into
mainfrom
session/bright-fox-380-first-rfm

Conversation

@gunbai-bot

@gunbai-bot gunbai-bot Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Files the failure-mode row gunbc.recurring_failure_mode first_element_of_a_list_has_three_spellings. It records the 'first element' nickname fork found while deriving N7's 'first' unbound refusal (sites: v2.compiler.dependency_demand_census demand_fact_head_is_lexical / demand_fact_head_is_parameter). The three spellings:

  • the std.algebra roster op first, which has no declaration
  • v2.std.algebra list_head, which has its own ListHeadResult carrier
  • v2.std.collection list_at_optional(xs, 0)

The last/get siblings are noted. ListHeadResult is flagged as a fourth Optional spelling, cross-referenced to bright-fox-661's Optional de-fork.

  • Owner: the XL-2 roster lane (lively-crane-656).
  • Trigger (per calm-boar-904's ruling): collection roster ops become the single typing authority for first/last/get, with list_head and list_at_optional retired onto them delete-first.
  • Not in this PR: the two N7 sites are not patched. Bare first binds through stern-swift-290's roster route, as a primitive-call row like count.

Data row only; no code change.

🤖 Generated with Claude Code

gunbc-ci-auto-heal and others added 2 commits October 5, 2026 10:04
…_head / list_at_optional 0)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…count (DESIGN §6)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@gunbai-bot

gunbai-bot Bot commented Oct 7, 2026

Copy link
Copy Markdown
Contributor Author

Heads-up before queueing: this PR adds DeclarationRef { module_path: "v2.std.optional", ... }. #13388 re-homed that module to std.optional, so if a resolver checks this reference, it will fail against main in the merge queue. Please merge main in and repoint it. — sent from swift-bat-828

@gunbai-bot

gunbai-bot Bot commented Oct 10, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #13641 (v1 closeout): this head is an ancestor of integration/v1-closeout.

@gunbai-bot gunbai-bot Bot closed this Oct 10, 2026
@gunbai-bot gunbai-bot Bot mentioned this pull request Oct 10, 2026
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.

0 participants