-
Notifications
You must be signed in to change notification settings - Fork 385
[ new ] Support arbitrary Name
in IBindVar
#3526
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
base: main
Are you sure you want to change the base?
Conversation
This PR is ready to review. The fixes in |
The status of the pack collection with this branch:
|
Looking at the failing pack libraries, this will require quite a bit of work till the pack collection is up and running again. Many of the failing packages are my own, so they should be fine. deptycheck and node are not, so we probably should get in touch with their maintainers. I for my part am ready to go with this and merge the adjustments made to elab-util as soon as reviewers are ready to merge this. Thanks, spcfox, for going through the trouble and also checking the pack collection! |
I'm working with @buzden, we're ready to make changes to deptycheck |
As a comment beside libraries changes, I've talked about this change with Edwin in 2021 and he agreed that this should be done and said that he didn't remember why the current design of |
I believe we need to bump the TTC version in |
I'm not sure if this kind of code is supposed to work. It doesn't right now definition : Decl
definition =
IDef EmptyFC `{ foo }
[ PatClause EmptyFC `( foo ~(IBindVar EmptyFC $ UN $ Basic "x") )
(IVar EmptyFC (DN "y" $ UN $ Basic "x"))] |
I think it should, because I understand |
Ok, this is not related to the current PR, created an issue #3542 on this behavior |
List of packages requiring fixes: CI:Pack collection:other: Failed due to dependencies: |
I've prepared patches to all the libraries. This PR is ready for review and merge. |
I'm really for merging this PR. In order to make Idris CI to become green, we need besides e.g. me, one of @ohad or @gallais for frex, and one of @mattpolzin or @alexhumphreys for idrall, which is a dependency for In order the next pack collection won't fail building next day, we need also @stefan-hoeck and @kbertalan to be ready to merge compat pull requests to their repos. Guys, can we syncronise, say, today to do all that? |
I'm ready to update my packages as soon as this is merged. Today would be fine, tomorrow also. |
Works for me. |
I can merge the changes to my project when this is merged within a 12 hours window any week day this week. |
@ohad, @gallais, @stefan-hoeck, @mattpolzin, @kbertalan, @buzden |
Description
Replaces
String
withName
in theIBindVar
signature. This makesIBindVar
more consistent and allows the binding of machine-generated names. Using machine-generated names inIBindVar
can be useful in compiler and elaborator scripts.Should this change go in the CHANGELOG?
implementation, I have updated
CHANGELOG_NEXT.md
(and potentially alsoCONTRIBUTORS.md
).