-
Notifications
You must be signed in to change notification settings - Fork 123
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
Losing operator call when one of operands is application of a partially applied function #544
Comments
It's possible this is the same bug as #543 |
Fixed by #549 |
Fix is in 2.0.0.7 |
Awesome, thank you! |
Hmmm, but now it generates some extraneous lambdas where none are required. For example:
2.0.0.7 produces:
But 2.0.0.6 produces:
This is technically an equivalent program, but not exactly what one would expect. |
This is by design for first-class uses of all members and module-bound functions. The expansion was always being applied when some arguments were present - it is now applied all the time even when no arguments are given. |
Ok, thanks. |
VS2015 and VS2013 does not allow change of SolutionDir
This code:
Produces TAST without the last
(+)
call:If I make
g
a normal function (i.e.let g x = f 1 x
), the problem disappears.If I make
g
a value (i.e.let g = 5
), the problem disappears.The text was updated successfully, but these errors were encountered: