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

A discrepancy between implication operator documentation and implementation. #2620

Open
d2km opened this Issue Jan 10, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@d2km
Copy link

d2km commented Jan 10, 2019

I found a discrepancy between the documentation and the actual implementation of -> operator.
In the documentation -> is said to be non-associative, however in the grammar it is declared to be right-associative.

Running it in the repl also shows that the operator is right-associative

nix-repl> (false -> false) -> false
false

nix-repl> false -> (false -> false)
true

nix-repl> false -> false -> false
true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment