"fold": a replacement for "reduce"

monarch_dodra monarchdodra at gmail.com
Wed Mar 26 08:23:00 PDT 2014


On Wednesday, 26 March 2014 at 15:18:36 UTC, Simen Kjærås wrote:
> On 2014-03-25 21:16, "Nordlöw" wrote:
>>> You have no guarantees that you'll have "stability" of the 
>>> returned type.
>>
>> What do you mean with "stability" of the return type?
>>
>>> More often than not, it *is* stable, but there are cases 
>>> where it is not.
>>
>> Could you gives examples of when it's stable and when it's not?
>
> I'm not entirely certain if this is what monarch_dodra meant, 
> but it's my understanding of the terms:
> ---
>   Simen

That's what I meant. Good example!


More information about the Digitalmars-d mailing list