Skip to content

list: add head/tail methods for use instead of direct fields#48309

Merged
jkarneges merged 1 commit intomainfrom
jkarneges/head-tail-methods
Mar 5, 2026
Merged

list: add head/tail methods for use instead of direct fields#48309
jkarneges merged 1 commit intomainfrom
jkarneges/head-tail-methods

Conversation

@jkarneges
Copy link
Member

@jkarneges jkarneges commented Mar 5, 2026

The new list implementation planned in #48291 will expose head/tail as methods in order to make their behavior generic. This PR adapts to that change in advance by adding such methods to the current list implementation, so that there will be less code to change when we move to the new one.

@jkarneges jkarneges requested a review from a team March 5, 2026 19:22
@jkarneges jkarneges merged commit 2e2d7ad into main Mar 5, 2026
19 checks passed
@jkarneges jkarneges deleted the jkarneges/head-tail-methods branch March 5, 2026 19:28
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.

2 participants