map! filter! and range algorithm

Jesse Phillips Jesse.K.Phillips+D at gmail.com
Tue Mar 5 18:11:42 PST 2013


On Monday, 4 March 2013 at 20:49:22 UTC, Andrea Fontana wrote:

> Very interesting. IMHO that should be pointed out better in 
> docs/example.
> You say interleaving is "default", how can I guess if a 
> function doesn't use the "default" behaviour?

It doesn't really make sense to point it out in the example since 
it is kind of fundamental to what ranges are. If it is eager than 
the docs should mention that.

If an operation requires all its data upfront, sort, then you'll 
usually see a call for .array().


More information about the Digitalmars-d-learn mailing list