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

Support getting full definition of closures #617

Closed
xiaq opened this issue Mar 2, 2018 · 0 comments
Closed

Support getting full definition of closures #617

xiaq opened this issue Mar 2, 2018 · 0 comments

Comments

@xiaq
Copy link
Member

@xiaq xiaq commented Mar 2, 2018

Closures now expose their body, but not their full definition:

~> f = [a b @c]{ echo this is body }
~> echo $f[body]
 echo this is body

We should add an additional def property to get the full definition.

@xiaq xiaq added this to the 0.12 milestone Mar 16, 2018
@xiaq xiaq closed this in dc0d16e Mar 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant