english
english copied to clipboard
new gem: alias, tuples & static foreach
From @wilzbach on June 26, 2016 0:6
I feel that neither alias, static foreach and tuples are well represented in the tour. They are already needed in other sections (e.g. #264), so we should probably try to enhance basics/alias-strings and maybe even create a new gem. The meta programming gem also doesn't cover any of these topics.
btw if static foreach is unfamilar:
import std.meta : AliasSeq;
foreach (c, AliasSeq!(int, float))
...
Copied from original issue: stonemaster/dlang-tour#375
Missing alias explanation has also been reported in #356