Re:Where does the name "algebraic data type" come from?
by bombela on Wednesday July 31, 2024 @11:11PM
(#41125817)
My answer would be: No they are not the same type. Yes they have the same amount of bits representing them. They might have different RAM usage because of alignment.
Is I + J the same type as X + Y?
If your types are tagged, they aren't. Because that's what tags do.