News for hackers. Stuff that matters.
Re:Algebraic Data Types: Things I wish someone had explained... by edflsafoiewq on Tuesday November 19, 2019 @04:30PM (#21578517)
No, you can add a type to itself (that is a pain in the ass though). You might be thinking of the fact that it may not hold a value (eg. if an exception is thrown while moving into it), but they made it as close to a sum as they could given the nature of C++.

There are no comments on this comment yet.