-
Notifications
You must be signed in to change notification settings - Fork 26
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
Closure #323
Closure #323
Conversation
Could you quickly clarify why this is necessary for the new ponyrt? Can I still write programs that use functions in a higher-order fashion?
|
https://github.com/parapluu/encore/wiki/Issues-in-new-PonyRT I believe you can. |
closure_fun call; | ||
void *env; | ||
pony_trace_fn trace; | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why does this need to be exposed to the outside?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I see it now. Is it to be able to make static initializations of closures?
I like this PR, and will merge it later today! |
Yes. |
A prerequisite for migrating to new ponyrt.