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

Allow no begin and end block for single row chaining #5

Closed
xiaodaigh opened this issue Nov 27, 2020 · 2 comments
Closed

Allow no begin and end block for single row chaining #5

xiaodaigh opened this issue Nov 27, 2020 · 2 comments

Comments

@xiaodaigh
Copy link

@chain df some_function

Allow this syntax where there is only one line

@jkrumbiegel
Copy link
Owner

I could in theory add that, although I find that usually these sorts of chains are pretty hard to read. Or is it too opinionated not to allow that syntax?

Maybe you could give a more "real world" example that you need. @chain df some_function is normally going to be written as some_function(df) of course

@xiaodaigh
Copy link
Author

No worries. Not important

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