On 10/08/2014 02:34 PM, anonymous wrote:

> You can turn the tuples into ranges with `only`:
>
> writef("%(%(%s %)\n%)", zip(indexes, source).map!(t =>
> only(t.expand)));

I haven't measured the performance but there is also the following automatic expansion of tuple members as slice elements:

    ... zip(indexes, source).map!(t => [ t ]));

Probably the same thing...

Ali

Reply via email to