[Issue 11555] std.algorithm.reverse should return the just-reversed range

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Nov 20 21:29:09 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11555


Chuck Allison <chuck at freshsources.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |chuck at freshsources.com


--- Comment #2 from Chuck Allison <chuck at freshsources.com> 2013-11-20 21:28:59 PST ---
I like the reverse vs. reversed idea from Python. Leave reverse as-is and
provide reversed that only returns a new result (no side effects on backing
sequence). That way I won't have to do .dup in my example. Win-win.

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


More information about the Digitalmars-d-bugs mailing list