On 09/21/2016 09:10 AM, w0rp wrote:
1. Most languages (including D) do not support pattern matching. If
pattern matching was added, it would be totally alien to any programmers
handling null might not be adopted.
I've said it before, and I'm going to keep saying it: Nemerle's
Algebraic's and pattern matching are freaking awesome and I wish D would
outright copy it (instead of mucking with the current library solutions).
THIS is how to do Algebraics: