"fold": a replacement for "reduce"

Meta jared771 at gmail.com
Thu Mar 27 10:22:19 PDT 2014


On Thursday, 27 March 2014 at 17:21:14 UTC, Meta wrote:
> On Thursday, 27 March 2014 at 16:42:31 UTC, Simen Kjærås wrote:
>> That could very well be argued to be a bug, though.
>>
>> --
>>  Simen
>
> What is the bug? Alias aliases symbols. A function literal is 
> not a symbol, but a template instantiation is. Therefore, 
> wrapping a function literal in a template instantiation allows 
> it to be aliased. I don't think there's any bugger behaviour 
> here.

Whoops, I mean buggy.


More information about the Digitalmars-d mailing list