sumtypes for D

Lars Johansson lars at 11dim.se
Tue Nov 29 11:10:24 UTC 2022


On Tuesday, 29 November 2022 at 10:33:27 UTC, Per Nordlöw wrote:
> On Tuesday, 29 November 2022 at 10:32:54 UTC, Per Nordlöw wrote:
>>> Is sum type a simpler form of Raku's junction?
>>
>> See https://en.wikipedia.org/wiki/Algebraic_data_type.
>
> Specifically https://en.wikipedia.org/wiki/Tagged_union.

Tx:)


More information about the Digitalmars-d mailing list