The basic pipe operator allows for broacasting e.g. 1:5 .|> exp
As far as I know @chain
and Lazy @>
don’t support this.
You can get around this by defining. ⬅map(a,b) = map(b,a)
and writing
@> 1:5 ⬅map(exp)
and
@chain 1:5 begin
⬅map(exp)
end
Is there a briefer way to do this? maybe through a macro or something?
be great if you could just writ.
@> 1:5 exp.
@chain 1:5 begin
exp.
end