Closed eslgastal closed 7 years ago
I fixed this with https://github.com/MikeInnes/Lazy.jl/commit/6805c8adf332f6086ddaad25f3291773b7b69321 – you can try it with Pkg.checkout("Lazy")
Working. Thanks for the fix.
Now it's also possible to use the @.
macro (but functions require empty parens ()
):
julia> using Lazy
julia> x = rand(1000,1000);
julia> y = @. @> x clamp(0,1) exp();
When threading over an array, julia v0.6 complains that we should use the new "dot operations" syntax:
However julia seems to parse the dot syntax before the
@>
macro gets to it:Any way to work around this issue? Thanks!