D and Nim

Brad Anderson via Digitalmars-d digitalmars-d at puremagic.com
Mon Jan 5 10:12:41 PST 2015


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.


More information about the Digitalmars-d mailing list