[Issue 4695] std.range.zip is broken

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Aug 28 13:17:46 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=4695


David Simcha <dsimcha at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dsimcha at yahoo.com


--- Comment #1 from David Simcha <dsimcha at yahoo.com> 2010-08-28 13:17:34 PDT ---
Thanks for the report.  I just wanted to note that this is more of a design
issue than an implementation bug.  The lack of tail const makes making higher
order ranges work properly for const/immutable ranges impossible except in some
special cases.  (const/immutable arrays are one of these special cases.)  This
flaw may eventually get fixed, or we may eventually special case everything to
work with at least const/immutable arrays, but there are deeper issues that
need to be resolved before this gets fixed.

-- 
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