On Saturday, 10 October 2015 at 16:19:53 UTC, Nordlöw wrote:
Is there an algorithm somewhere in Phobos which performs when possible a replacement/substitution based on a variadic definition of replacements using hash-table search similar to
Found it: http://dlang.org/phobos/std_algorithm_comparison.html#predSwitchAn alias would be perhaps be motivated to make newcomers easier grap that this can be used for whole replacements.