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

Feature Request: if no _ is specified then insert into first argument #18

Closed
xiaodaigh opened this issue Aug 15, 2020 · 2 comments
Closed

Comments

@xiaodaigh
Copy link

Currently

@pipe a |> f(_, b) is needed but in other tools like Lazy.jl and R's magrittr which allows the first argument to be the previous one without _ e.g.

@pipe a |> f(b) would be equivalent to f(a,b) and @pipe a |> f(_, b)

@oxinabox
Copy link
Owner

Not to come across as harsh, but we are not going to do that.
Pipe.jl is explicit.
As you say, other packages like Lazy.jl do it.
I particularly like Hose.jl which originated as a fork of Pipe.jl but with that feature added.
You can check the big list of alternatives for others.
JuliaLang/julia#5571 (comment)

@xiaodaigh
Copy link
Author

Not harsh at all. I get it. I will go jump off a cliff now. Jsut joking.

Yeah. I will check out Hose.jl.

Thanks.

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

2 participants