Re:Destroy All Ifs – A Perspective from Functional Programming
by eru on Monday July 18, 2016 @06:45AM
(#12114265)
I don't think eg Go uses a sum type:
https://gobyexample.com/multiple-return-values
Typically they use product types to simulate sum types.
[1] https://en.wikipedia.org/wiki/Product_type
[2] https://en.wikipedia.org/wiki/Tagged_union