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

Build RFC for closures and function pointers #37

Open
IGI-111 opened this issue Apr 23, 2024 · 0 comments
Open

Build RFC for closures and function pointers #37

IGI-111 opened this issue Apr 23, 2024 · 0 comments

Comments

@IGI-111
Copy link
Contributor

IGI-111 commented Apr 23, 2024

We want to specify syntax and semantics for closures, with capture, without dynamic dispatch, with individual anonymous types per closure and support for automatic decay into function pointers.

As well we want to specify the syntax and semantics of function pointers, and how they can be supported in the backend (see: FuelLabs/sway#5874).

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

No branches or pull requests

1 participant