https://issues.dlang.org/show_bug.cgi?id=5489

Neia Neutuladh <dhase...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dhase...@gmail.com

--- Comment #1 from Neia Neutuladh <dhase...@gmail.com> ---
I just came across an instance of this:

        cartesianProduct(
                ["%a, ", "%A, ", ""],
                ["%d "],
                ["%b", "%B"],
                [" %Y %H:%M:%S "],
                ["%Z", "%z", "%.%.%.", "%.%.", "%."]
                )
        .map!(x => joiner(x, "").array.to!string)
        .array

I ended up using [x.tupleof], but it didn't occur to me that that was possible.
I only found out about that by looking at this issue.

--

Reply via email to