Thread overview
[Issue 3519] New: unpack, enumerate in std.range
Nov 17, 2009
David Simcha
Aug 16, 2010
David Simcha
November 17, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3519

           Summary: unpack, enumerate in std.range
           Product: D
           Version: 2.036
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: patch
          Severity: enhancement
          Priority: P2
         Component: Phobos
        AssignedTo: nobody@puremagic.com
        ReportedBy: dsimcha@yahoo.com


--- Comment #0 from David Simcha <dsimcha@yahoo.com> 2009-11-16 16:49:40 PST ---
Created an attachment (id=500)
Unpack and Enumerate for std.range

Here are implementations of unpack() and enumerate() that I believe are good
candidates for std.range.  These solve a few annoying issues with ranges.

For unpack() to work, the /*ref*/ in std.range.Zip.Proxy.at() needs to be
uncommented.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
November 17, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3519


Andrei Alexandrescu <andrei@metalanguage.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |andrei@metalanguage.com
         AssignedTo|nobody@puremagic.com        |andrei@metalanguage.com


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
August 16, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3519


David Simcha <dsimcha@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |WONTFIX


--- Comment #1 from David Simcha <dsimcha@yahoo.com> 2010-08-15 21:05:30 PDT ---
I'm resolving this one because Lockstep accomplishes pretty much what Unpack would only with less bugs and more efficiency, and bug 3444 contains a patch that's a better solution to what Enumerate was meant to solve.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------