http://d.puremagic.com/issues/show_bug.cgi?id=4085
--- Comment #6 from [email protected] 2013-07-25 04:53:45 PDT --- (In reply to comment #4) > Copy pasting a proposed implementation from 10712. Pretty much the same thing, > but also handles indiscriminate types. It passes the prior tests, as well as > handles the useage with doubles, or chars: Good (despite in my code I avoid using std.range.iota() with floating point numbers, because to me it seems a bit bug-prone). > Maybe it's time to submit this to phobos? I prefer a "static foreach" in the D language, even a very simple one (example: you can't use a foreach(Iota) at module scope). But in the meantime it's handy to have a Iota() in Phobos. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
