http://d.puremagic.com/issues/show_bug.cgi?id=5645
--- Comment #3 from bearophile_h...@eml.cc 2011-08-25 00:44:25 PDT ---
(In reply to comment #2)
The drop function has been added
Thank you.
take(drop(range, 5), 3);
Personally, I'm not all that thrilled with idea of adding a function
http://d.puremagic.com/issues/show_bug.cgi?id=5645
--- Comment #4 from bearophile_h...@eml.cc 2011-08-25 00:46:14 PDT ---
(In reply to comment #3)
Now I understand what you meant: the way that slices normally are. You are
right. It contains drop(), so you generally have to iterate the first
http://d.puremagic.com/issues/show_bug.cgi?id=5645
Jonathan M Davis jmdavisp...@gmx.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=5645
--- Comment #1 from bearophile_h...@eml.cc 2011-02-23 05:19:35 PST ---
Currently you are able to write drop(fib, 9).front like this, in two lines:
import std.stdio, std.array, std.range;
void main() {
auto fib = recurrence!(a[n-1] +