SumType is a generic sum type for modern D. It is meant as an
alternative to `std.variant.Algebraic`.
Features:
- Pattern matching, including support for structural matching
(★)
- Self-referential types, using `This`
- Works with pure, @safe, @nogc, and immutable (★)
- Zero runtime ove
On Wednesday, 21 November 2018 at 00:38:25 UTC, Paul Backus wrote:
SumType is a generic sum type for modern D. It is meant as an
alternative to `std.variant.Algebraic`.
[snip]
Keep up the good work.
Thread safe reference counted RCArray with DIP1000 in mind has
been released with mir-algorithm v3.1.12.
It has well defined C++ header. You can use it from C++ if the
same type is used in linked D object file.
D's RCArray (1) (mir_rcarray) does not have range primitives,
only length, [], an