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 __ to stand for the argument which accepts a do block #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

c42f
Copy link
Owner

@c42f c42f commented Mar 27, 2020

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

@c42f
Copy link
Owner Author

c42f commented Jun 16, 2020

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.

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

Successfully merging this pull request may close these issues.

None yet

1 participant