"fold": a replacement for "reduce"

Meta jared771 at gmail.com
Thu Mar 27 08:33:36 PDT 2014


On Thursday, 27 March 2014 at 13:23:27 UTC, monarch_dodra wrote:
> "fold" (from what I understood) is what you call "foldl". It 
> was discussed to not introduce "foldr", as it's just 
> "fold!(binaryReverseArgs!Fun)(range.retro);".

Rolls right off the tongue. We seriously need a better alias for 
binaryReverseArgs.


More information about the Digitalmars-d mailing list