"fold": a replacement for "reduce"

Meta jared771 at gmail.com
Thu Mar 27 10:21:12 PDT 2014


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.


More information about the Digitalmars-d mailing list