https://issues.dlang.org/show_bug.cgi?id=9942
--- Comment #2 from [email protected] --- 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 --
