Option types and pattern matching.

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Sun Oct 25 12:14:58 PDT 2015


On 2015-10-25 20:00, John Colvin wrote:

> Without having looked at this in detail, phobos should have a good
> generic implementation of pattern matching, so you should consider
> creating a pull request (std.functional would be the natural home I think).

I've been waiting for this PR [1] to get merged before implementing 
pattern matching as a library function.

[1] https://github.com/D-Programming-Language/dmd/pull/5201

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list