On 8/16/22 08:07, Walter Bright wrote:
> Haha, this is a nice improvement! Nobody can think of everything, which
> is why these forums are worth while!
And your array-at-compile-time example can subjectively be better like this:
import std;
void main() {
pragma(msg, iota(20).map!(n => n * n).array);
}
Ali