Skip to content
New issue

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

Add begin block form for @linq #136

Closed
CameronBieganek opened this issue Oct 4, 2019 · 1 comment
Closed

Add begin block form for @linq #136

CameronBieganek opened this issue Oct 4, 2019 · 1 comment

Comments

@CameronBieganek
Copy link

CameronBieganek commented Oct 4, 2019

It would be nice if the @linq macro natively supported using a begin block. The related example in the docs requires using the @> macro from Lazy.jl, and thus requires introducing Lazy.jl as a dependency of one's package.

What I have in mind is syntax like the following:

@linq df begin
    @transform(y = 10 * :x)
    @where(:a .> 2)
    @by(:b, meanX = mean(:x), meanY = mean(:y))
    @orderby(:meanX)
    @select(:meanX, :meanY, var = :b)
end
@pdeffebach
Copy link
Collaborator

Closed in favor of #177

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants