You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Should the range_* functions be in the prelude as well? #9242
There's also count for an infinite stream. There has to be a limit on what we're going to put in the prelude, but I don't know where the line should be drawn.
I don't think we want to add too many things to the prelude. I think that because range is kinda the way to iterate over integers, it's well placed in the prelude, but these aren't necessarily as common as the range pattern in general.
Activity
thestinger commentedon Sep 17, 2013
There's also
countfor an infinite stream. There has to be a limit on what we're going to put in the prelude, but I don't know where the line should be drawn.alexcrichton commentedon Sep 17, 2013
I don't think we want to add too many things to the prelude. I think that because
rangeis kinda the way to iterate over integers, it's well placed in the prelude, but these aren't necessarily as common as therangepattern in general.Auto merge of rust-lang#9244 - Jarcho:ice-9242, r=flip1995
Merge rust-lang#9242