Summary: Add a function to make a range from a sequence of
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Phobos

--- Comment #0 from yebblies <> 2012-07-11 06:05:49 EST ---
As mentioned on the newsgroup, it would be useful to have a function in phobos
that can turn a bunch of values into a value type range.  What you get when you
cross tuple and chain.

foreach(x; range(23, 7, 1990)) // No allocations, unlike array literals

It could be a random access range, with slicing.
There's probably not much point in it having assignable elements.
I'll do a pull request for std.range in the next few days.
Name suggested by Andrei.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to