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

Effects and change of type #58

Open
tema3210 opened this issue Apr 12, 2024 · 0 comments
Open

Effects and change of type #58

tema3210 opened this issue Apr 12, 2024 · 0 comments
Labels
question Further information is requested

Comments

@tema3210
Copy link

tema3210 commented Apr 12, 2024

Current async changes the return type of function to impl Future, same way as generators, etc.

This requires effects to provide a GAT return type and involves pinning.

For the latter there was proposal for adding FnPinMut function trait.

Should we add this part of fn traits hierarchy to language for further utilisation by features?

@tema3210 tema3210 added the question Further information is requested label Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant