[nem-en] Re: [proposal] foldr1/foldl1

Elifant elifantu at mail.ru
Wed Jul 11 05:27:39 CEST 2007


Kamil Skalski wrote:

> +      while (not_end)
> +        accum = convert(value, accum);
> +        not_end = enumerator.MoveNext ();
> 
> Looks like you are missing the { }

Will fix.

> It would be nice to have also a patch for tests in
> nemerle/lib/tests/
> or
> nemerle/ncc/testsuite/positive/collections.n

Ok, I'll add them and will send new patch soon.

> I'm afraid it is too large breaking change, since for cases when acc
> type is the same as value type user will not every know that something
> changed and his program will start behaving unexpectedly.

Ok, I understand.




More information about the devel-en mailing list