D and Nim

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Mon Jan 5 12:15:31 PST 2015


On 1/5/15 11:03 AM, H. S. Teoh via Digitalmars-d wrote:
> On Mon, Jan 05, 2015 at 06:12:41PM +0000, Brad Anderson via Digitalmars-d wrote:
>> On Monday, 5 January 2015 at 04:10:41 UTC, H. S. Teoh via Digitalmars-d
>> wrote:
>>> On Sun, Jan 04, 2015 at 07:25:28PM -0800, Andrei Alexandrescu via
>>> Digitalmars-d wrote:
>>>> On 1/4/15 5:07 PM, weaselcat wrote:
>>>>> Why does reduce! take the seed as its first parameter btw? It >sort
>>>>> of messes up function chaining.
>>>>
>>>> Mistake. -- Andrei
>>>
>>> When are we going to fix this?
>>>
>>>
>>> T
>>
>> monarch dodra tried to make a reduce that was backward compatible
>> while moving the seed but it didn't work out in the end. He was
>> working on a "fold" which was basically reduce with the arguments
>> swapped but I'm not sure what happened to it.
>
> Should somebody take over the implementation of "fold"? This is
> something that ought to be fixed.

If you could that would be great but please fix groupBy first :o) -- Andrei



More information about the Digitalmars-d mailing list