3 ms·
Are you planning on having something similar to computation expressions? Altough, I guess thats basically covered within the do notation. https://docs.microsof
by Akronymus 4y ago
Are you planning on having something similar to computation expressions? Altough, I guess thats basically covered within the do notation.
https://docs.microsoft.com/en-us/dotnet/fsharp/language-reference/computation-expressions https://docs.microsoft.com/en-us/dotnet/fsharp/language-refe...
- zesterer 4y agoYes! As you say, the do notation + monads covers this, but I'm planning to remove it in favour of a slightly more general 'effect basin' syntax that I'm currently working on (syntactically similar to Rust's async + await, but generalised to all effectful operations like mutation, IO, etc.). Example here: https://github.com/zesterer/tao/blob/master/examples/mutate.tao#L24-L29 https://github.com/zesterer/tao/blob/master/examples/mutate....