stackoverflow.com question

2011-06-11 Thread Andrei Alexandrescu
http://stackoverflow.com/questions/6315882/pattern-matching-in-d Andrei

Re: stackoverflow.com question

2011-06-11 Thread bearophile
Andrei: > http://stackoverflow.com/questions/6315882/pattern-matching-in-d Pattern matching is very useful if you have a functional mindset. In Haskell functions are mostly based on it. But to implement pattern matching you probably need some kind of structural typing (this means two data types