[Issue 4492] Version of take() which takes from the back of a range

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jul 21 17:39:45 PDT 2010


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



--- Comment #2 from Jonathan M Davis <jmdavisProg at gmail.com> 2010-07-21 17:39:34 PDT ---
You get the elements in the wrong order. Now, you could do

retro(take(retro(myRange), someNumber))

but that seems awfully inefficient, not to mention far more verbose than

takeBack(myRange, someNumber)

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