Underscores.jl
Underscores.jl copied to clipboard
Allow __ to stand for the argument which accepts a do block
WIP - still needs tests + docs
It's also unclear whether this is a desired behavior.
I feel like — though this could be rather useful — it's strangely inconsistent with the meaning of __ as used in other contexts. Further discussion at https://discourse.julialang.org/t/ann-underscores-jl-placeholder-syntax-for-closures/36482
On consideration I think this is semantically inconsistent, so I don't think we should do this with __, as tempting as it is. We might need some more ugly notation like _do.