Computational expressions tail calls support, revived#18804
Computational expressions tail calls support, revived#18804T-Gro merged 21 commits intodotnet:mainfrom
Conversation
❗ Release notes required
|
|
Nice |
|
So, some tests are up and running. I will fill them up with all imaginable tail call / non-tailcall combinations. OTOH Applying this to TaskBuilder is very tricky and probably hopeless, given its type signature. It might be more useful for other computation expressions. |
Co-authored-by: Edgar Gonzalez <egonzalez@totallymoney.com>
|
@majocha Just to say a huge, huge thank you for getting this in. We should always have done tailcalls in computation expressions like this, and it's a relief to see it finally in place |
|
Thank you also to @T-Gro for your work in facilitating both the design repos and the implementation! |
Revived #17018
Implements fsharp/fslang-suggestions#1006
TODO:
DoBang