[Issue 7896] New: Sequence slicing

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Apr 13 02:05:39 PDT 2012


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: nobody at puremagic.com
        ReportedBy: daniel350 at bigpond.com


--- Comment #0 from Daniel <daniel350 at bigpond.com> 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: -------


More information about the Digitalmars-d-bugs mailing list