3 ms·
I don't think eg Go uses a sum type: https://gobyexample.com/multiple-return-values https://gobyexample.com/multiple-return-values Typically they use product
by eru 10y ago
I don't think eg Go uses a sum type:
https://gobyexample.com/multiple-return-values https://gobyexample.com/multiple-return-values
Typically they use product types to simulate sum types.