Skip to content
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

Operators in any position #8

Closed
foxfriends opened this issue Nov 15, 2020 · 0 comments · Fixed by #43
Closed

Operators in any position #8

foxfriends opened this issue Nov 15, 2020 · 0 comments · Fixed by #43
Labels
enhancement New feature or request

Comments

@foxfriends
Copy link
Owner

There are two kinds of operators:

  1. Expression operators (prefix/2, postfix/2, and infix/3).
  2. Predicate operators (prefix/1, postfix/1, and infix/2).

Right now, operators are not permitted in predicate position, so operators from group (2) cannot be used. These should be allowed. This might even allow <- to be implemented as an operator rather than a language feature.

@foxfriends foxfriends added the enhancement New feature or request label Dec 5, 2020
@foxfriends foxfriends mentioned this issue Dec 11, 2020
23 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant