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

xiaq opened this Issue Mar 2, 2018 · 0 comments


None yet
1 participant

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 added the comp:lang label Mar 20, 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