std.algorithm.map with side-effects

bearophile via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Dec 5 16:43:19 PST 2014


Joseph Rushton Wakeling:

> Yes, I remember you requesting that.  Were there ever any PRs, 
> or was it just spec?

I think two different persons implemented something like "each". 
A similar function is used very commonly in F#, where it's named 
"iter":
http://msdn.microsoft.com/en-us/library/ee340469.aspx

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list