Option types and pattern matching.

John Colvin via Digitalmars-d digitalmars-d at puremagic.com
Sun Oct 25 12:00:31 PDT 2015


On Sunday, 25 October 2015 at 18:15:20 UTC, TheFlyingFiddle wrote:
> This problem has gained my interest and I plan on implementing 
> this sometime this week. I'll post a link to the source when 
> it's done if anyone is interested in it.

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).


More information about the Digitalmars-d mailing list