Extend D's switch statement?

Meta via Digitalmars-d digitalmars-d at puremagic.com
Wed Jul 8 17:01:04 PDT 2015


On Wednesday, 8 July 2015 at 23:33:09 UTC, rsw0x wrote:
> On Wednesday, 8 July 2015 at 08:31:42 UTC, Martin Nowak wrote:
>
>> Many would like it to support pattern matching though.
>> http://wiki.dlang.org/DIP32#Various_places_that_you_can_use_unpacking_and_pattern_matching
>
> all of kenji's proposals are pretty much gold, has there ever 
> been any work on reviewing/implementing this?

The tuple syntax was implemented and never pulled. I don't know 
about pattern matching.


More information about the Digitalmars-d mailing list