[Issue 9942] Add a functional switch function

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Aug 9 20:17:16 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=9942

--- Comment #2 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/0318f0ffba8b57fe5f0edba14b41753b3f13a747
fix issue 9942 - Add a functional switch function

std.algorithm.predSwitch is the functional version of the `switch`
statement(without a lookup table).

https://github.com/D-Programming-Language/phobos/commit/9fdee20ef3fc745d9819382184bfbfd41b6d3478
Merge pull request #1259 from idanarye/add-a-functional-switch-function

fix issue 9942 - Add a functional switch function

--


More information about the Digitalmars-d-bugs mailing list