Skip to content

zipper_algebra: support more zippers#37

Open
marcin-rzeznicki wants to merge 1 commit intomasterfrom
extend_zipper_alg
Open

zipper_algebra: support more zippers#37
marcin-rzeznicki wants to merge 1 commit intomasterfrom
extend_zipper_alg

Conversation

@marcin-rzeznicki
Copy link
Copy Markdown
Collaborator

A small PR that just extends ZipperAlgebraExt ( z.join() syntax ) and SomeMutRefZ ( zipper_join_n!(...) and (z1, z2,...).join ) support to more zippers. Concretely, ZipperAlgebraExt is 'implemented' for ReadZipperOwned and PrefixZipper. SomeMutRefZ now covers PrefixZipper for ReadZipperUntracked and ReadZipperTracked.

Note: There are some limitations: SomeMutRefZ cannot support ReadZipperOwned because it forces V: 'static which we don't want; it also cannot support arbitrary PrefixZipper because it can't be expressed without GADTs (or, at least I don't know how)

@marcin-rzeznicki marcin-rzeznicki self-assigned this May 8, 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.

1 participant