D Expert · Lesson 5

SumType tagged unions

std.sumtype: type-safe unions, match handlers, and when Algebraic still appears.

Lessons · D Expert · Lesson 5 of 10

SumType tagged unions

std.sumtype: type-safe unions, match handlers, and when Algebraic still appears.

Illustration for D
std.sumtype: type-safe unions, match handlers, and when Algebraic still appears.