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

Evaluate |> as shorthand for | apply #110

Open
evinism opened this issue Mar 24, 2022 · 0 comments
Open

Evaluate |> as shorthand for | apply #110

evinism opened this issue Mar 24, 2022 · 0 comments

Comments

@evinism
Copy link
Owner

evinism commented Mar 24, 2022

Part of me is wondering whether to introduce a new bit of syntax, namely |> as syntactic sugar for using apply, such that you could write 1 |> @ + 2 instead of 1 | apply @ + 2.

I'm always hesitant to add new syntax, as i feel like simple syntax but a broad library is what makes MistQL MistQL. This might be an exception though. It's clearly a common use case.

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