sumtypes for D

Per Nordlöw per.nordlow at gmail.com
Tue Nov 29 10:32:54 UTC 2022


On Tuesday, 29 November 2022 at 10:30:40 UTC, Lars Johansson 
wrote:
> I'm new to the term 'sum type'. To me it sounds like sum type 
> is a kind of 'or' set.
> Is sum type a simpler form of Raku's junction?

See https://en.wikipedia.org/wiki/Algebraic_data_type.


More information about the Digitalmars-d mailing list