-
Notifications
You must be signed in to change notification settings - Fork 37
[Merged by Bors] - Fix anonymous argument with type parameter #394
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
Conversation
yebai
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good - thanks, @devmotion.
|
bors r+ |
~~Fixes #393 Well, it fixes the error but evaluation does not work it seems.
|
bors cancel |
|
Canceled. |
|
bors try |
|
The PR doesn't work (yet) - when constructing the model in the example it will store |
tryBuild failed: |
|
I think we might have to change our handling of arguments a bit and just store unnamed arguments with a gensymed name in the |
That sounds like a sensible plan. More generally, I think we should aim for a more modular, less magical implementation of the cc @rikhuijzer |
|
Arguably it's already quite simple and non-magical, apart from these unnamed arguments. It definitely became much much simpler already. There's not many transformations of the user-specified functions anymore, we just replace the tilde statements (there are separate functions for undotted and dotted tildes) and add our internal arguments. IMO the complexity is mainly/only due to the runtime dispatches in the context pipeline (which is separate from |
|
bors try |
tryBuild failed: |
|
bors r+ |
Fixes #393. ~~Well, it fixes the error but evaluation does not work it seems.~~ cc: @torfjelde
|
Pull request successfully merged into master. Build succeeded: |
|
Awesome stuff @devmotion ❤️ |
|
Uh, finally someone doing this :D Thanks @devmotion, where would be be without you... |
Fixes #393.
Well, it fixes the error but evaluation does not work it seems.cc: @torfjelde