keyword-generics-initiative icon indicating copy to clipboard operation
keyword-generics-initiative copied to clipboard

Effects and change of type

Open tema3210 opened this issue 10 months ago • 0 comments

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 avatar Apr 12 '24 17:04 tema3210