We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Seems like this ought to work:
julia> @_ 1:4 .|> float |> filter(iseven(Int(_)), __) .|> sqrt #27 (generic function with 1 method) julia> 1:4 .|> float |> xs -> filter(x -> iseven(Int(x)), xs) .|> sqrt 2-element Array{Float64,1}: 1.4142135623730951 2.0
See also https://discourse.julialang.org/t/in-pipe-pipe-followed-by-gives-an-error/47174 for other examples.
The text was updated successfully, but these errors were encountered:
Fix also allows this, in which __ now sometimes means an element, I think that's OK:
__
julia> @_ 2 |> __ .+ (1:3) .|> __^2 |> filter(isodd(_), __) 2-element Array{Int64,1}: 9 25
Sorry, something went wrong.
__ now sometimes means an element
I guess this should work, odd as it is!
Successfully merging a pull request may close this issue.
Seems like this ought to work:
See also https://discourse.julialang.org/t/in-pipe-pipe-followed-by-gives-an-error/47174 for other examples.
The text was updated successfully, but these errors were encountered: