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


Jonathan M Davis <jmdavisp...@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jmdavisp...@gmx.com
         Resolution|                            |FIXED


--- Comment #2 from Jonathan M Davis <jmdavisp...@gmx.com> 2011-08-24 21:22:04 
PDT ---
The drop function has been added

https://github.com/D-Programming-
Language/phobos/commit/6b6c604bbeb66ca1811a3a02b4f807d27621580f

You can get the islice functionality by combining take with drop. e.g.

take(drop(range, 5), 3);

Personally, I'm not all that thrilled with idea of adding a function such as
islice, since it's not efficient the way that slices normally are, and I'm
afraid that it would give the impression that it is - that and the fact that
you end up with a new type unless the range actually _is_ sliceable. If you
still want such a function though, please create a new enhancement request for
it.

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

Reply via email to