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

Support refining in infix form. #15

Open
TikhonJelvis opened this issue Jun 2, 2015 · 0 comments
Open

Support refining in infix form. #15

TikhonJelvis opened this issue Jun 2, 2015 · 0 comments

Comments

@TikhonJelvis
Copy link
Contributor

Currently, if you want to refine a hole with an operator, you have to use prefix form. This means passing the operator in in parentheses ((+)) and having it applied like a normal function:

(+) _ _

It would be nice to support passing in the operator's name without parentheses (+) and getting it in infix form:

_ + _

It would also be nice to extend this to support backticks. Passing in mod should give us:

_ `mod` _
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant