GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
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
I believe this should be doable by adding a new Val type that records a function pointer along with a captured closure.
(There might also be something to borrow from the async branch, but not sure)