Skip to content

Internal: correctly preserve match statements when constructing a zipper#899

Merged
strub merged 1 commit intomainfrom
fix-zipper-match
Feb 14, 2026
Merged

Internal: correctly preserve match statements when constructing a zipper#899
strub merged 1 commit intomainfrom
fix-zipper-match

Conversation

@Cameron-Low
Copy link
Contributor

No description provided.

@Cameron-Low Cameron-Low requested a review from strub February 13, 2026 12:06
@Cameron-Low Cameron-Low self-assigned this Feb 13, 2026
Copy link
Member

@strub strub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is ok for prebr to be reversed (this is how zipper works, this allows to have more efficient concatenation & "sibling" navigation). The error is more in the reconstruction routine (later in this file): List.rev_cat should be used in place of @.

@strub strub merged commit feb688f into main Feb 14, 2026
16 checks passed
@strub strub deleted the fix-zipper-match branch February 14, 2026 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants