http://d.puremagic.com/issues/show_bug.cgi?id=7896
Summary: Sequence slicing
Product: D
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Phobos
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Daniel <[email protected]> 2012-04-13 02:06:23 PDT ---
Rather then simply building an array from scratch, perhaps it should be
possible to do the following:
auto my_odds = sequence!("n * 2 + 1")()[0...100]
Unless there is another way to do this.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------