Skip to content

[ refactor ] ScopedSnocList: Swap Scope on SnocList (Phase 2) #3513

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

GulinSS
Copy link
Contributor

@GulinSS GulinSS commented Mar 19, 2025

Introduces the actual swap of List on SnocList for Scope.

Should this change go in the CHANGELOG?

  • If this is a fix, user-facing change, a compiler change, or a new paper
    implementation, I have updated CHANGELOG_NEXT.md (and potentially also
    CONTRIBUTORS.md).

@GulinSS
Copy link
Contributor Author

GulinSS commented Mar 25, 2025

@spcfox prepared a report of building packages.

TLDR; all builds reached complete step of compilation. 🎉

@GulinSS GulinSS force-pushed the scoped-snoc-list-swap branch 4 times, most recently from bed6788 to ff61ad5 Compare April 21, 2025 13:29
@GulinSS GulinSS force-pushed the scoped-snoc-list-swap branch from ff61ad5 to 9367788 Compare May 12, 2025 11:42
@GulinSS GulinSS force-pushed the scoped-snoc-list-swap branch from 9367788 to 5278b55 Compare June 3, 2025 07:20
@GulinSS GulinSS marked this pull request as ready for review June 3, 2025 07:22
GulinSS and others added 3 commits June 5, 2025 10:16
* [ refactor ] Replace `rev` with `reverse` and make `LengthMatch` arguments erased

* [ refactor ] Move `embed'` definition into `FreelyEmbeddable` implementation

* [ refactor ] Optimize `mkPatClause.mkNames` in `CaseBuilder`

* [ refactor ] Swap parameters of `NamedPats`

* [ refactor ] Remove `snoc` for `NamedPats`

* [ refactor ] Use `List` for forward order in `CaseBuilder.idr`

* [ refactor ] Swap the arguments of `PatClause`, `Group` and `ScoredPats` like `NamedPats`

* [ refactor ] Merge simillar cases in `nextNames'` and `mkNames`

* [ cleanup ] Remove redudant functions

Cherry-picked from #16
Fully authored by Viktor Yudov <[email protected]>

Co-authored-by: Viktor Yudov <[email protected]>
@GulinSS GulinSS force-pushed the scoped-snoc-list-swap branch from 33f2799 to 749fa54 Compare June 5, 2025 07:16
@GulinSS
Copy link
Contributor Author

GulinSS commented Jun 5, 2025

@mjustus
@gallais

Kindly asking for the review! 🙏

@gallais
Copy link
Member

gallais commented Jun 5, 2025

Be aware that it may take a while!

Next week is the TYPES conference
The week after that is the CALCO/MFPS joint conferences

We may be able to meet after that but then annual leave may kick in (I'll be away late June to early July).

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