[Issue 9612] New: cycle() and opSlice
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Feb 27 15:20:42 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9612
Summary: cycle() and opSlice
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: nobody at puremagic.com
ReportedBy: trikkuz at gmail.com
--- Comment #0 from Andrea Fontana <trikkuz at gmail.com> 2013-02-27 15:20:41 PST ---
This line:
writeln(iota(10).cycle()[5..2].take(4));
prints:
[5, 6, 7, 8]
It seems some preconditions/tests are missing from cycle()
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list