You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lazy.jl’s threading macros are nice, but as far as I can tell there is no way to “skip over” a line so that it runs without having its output fed into the next line. Chain.jl has the very handy @aside macro for this purpose. It would be nice if something similar could be added to Lazy.jl. Currently I hack around this with
@as y x beginf(y)
g(y)
y |>function(z)
side_effect(z) # this is where I'd like to use @asidereturn z # this is just yendh(y)
end
I'd much prefer just
@as y x beginf(y)
g(y)
@asideside_effect(y)
h(y)
end
The text was updated successfully, but these errors were encountered:
Lazy.jl
’s threading macros are nice, but as far as I can tell there is no way to “skip over” a line so that it runs without having its output fed into the next line.Chain.jl
has the very handy@aside
macro for this purpose. It would be nice if something similar could be added toLazy.jl
. Currently I hack around this withI'd much prefer just
The text was updated successfully, but these errors were encountered: