On 1/5/14, bearophile <bearophileh...@lycos.com> wrote:
> Perhaps the "s" suffix (to define fixed-sized arrays) could avoid
> that problem:
>
> string[] r = aa.byKey.map!(k => [k, aa[k]]s).join;

I would prefer a prefix though, to make it immediately obvious you're
creating a static array.

string[] r = aa.byKey.map!(k => s[k, aa[k]]).join;

It's not too bad..

But then again maybe tuples (and some syntax support) is the right
solution for this.

Reply via email to