https://issues.dlang.org/show_bug.cgi?id=10959
Iain Buclaw changed:
What|Removed |Added
Priority|P2 |P3
--
https://issues.dlang.org/show_bug.cgi?id=10959
Seb changed:
What|Removed |Added
CC||greensunn...@gmail.com
---
https://d.puremagic.com/issues/show_bug.cgi?id=10959
Andrea Fontana advm...@katamail.com changed:
What|Removed |Added
CC|
https://d.puremagic.com/issues/show_bug.cgi?id=10959
--- Comment #12 from daniel...@bigpond.com 2014-01-23 01:52:09 PST ---
(In reply to comment #10)
(In reply to comment #9)
I've just given up on this idiom, instead using:
```
import std.algorithm;
import std.stdio;
void
https://d.puremagic.com/issues/show_bug.cgi?id=10959
--- Comment #8 from bearophile_h...@eml.cc 2014-01-22 15:33:13 PST ---
items = items.remove(items.countUntil(needle));
monarch_dodra comments:
Hum... that requires iterating the range twice for a non-RA
range. And you forgot a save:
https://d.puremagic.com/issues/show_bug.cgi?id=10959
--- Comment #9 from daniel...@bigpond.com 2014-01-22 21:33:11 PST ---
I've just given up on this idiom, instead using:
```
import std.algorithm;
import std.stdio;
void main() {
auto items = [10, 20, 30];
auto t = items.filter!(x = x
https://d.puremagic.com/issues/show_bug.cgi?id=10959
--- Comment #10 from monarchdo...@gmail.com 2014-01-22 23:22:14 PST ---
(In reply to comment #9)
I've just given up on this idiom, instead using:
```
import std.algorithm;
import std.stdio;
void main() {
auto items = [10, 20,
https://d.puremagic.com/issues/show_bug.cgi?id=10959
Damian damian...@hotmail.co.uk changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=10959
--- Comment #3 from bearophile_h...@eml.cc 2013-09-10 05:59:32 PDT ---
(In reply to comment #2)
-1, I disagree on all points except to rename to `std.algorithm.removeAt` and
add a complimentary method which instead removes by value.
Are you
http://d.puremagic.com/issues/show_bug.cgi?id=10959
--- Comment #4 from daniel...@bigpond.com 2013-09-10 07:28:02 PDT ---
After 24 hours of thinking about it, I've come to agree with your statement. My
original sentiment was that of likening std.algorithm.remove to its look-alike
http://d.puremagic.com/issues/show_bug.cgi?id=10959
--- Comment #5 from bearophile_h...@eml.cc 2013-09-10 07:34:20 PDT ---
(In reply to comment #4)
Sorry, I'll hope you forgive me.
Thank you, but you don't need to ask for forgiveness for just disagreeing with
me :-) Disagreeing is a natural
http://d.puremagic.com/issues/show_bug.cgi?id=10959
daniel...@bigpond.com changed:
What|Removed |Added
CC||daniel...@bigpond.com
---
http://d.puremagic.com/issues/show_bug.cgi?id=10959
Dylan tcdknut...@gmail.com changed:
What|Removed |Added
CC||tcdknut...@gmail.com
---
13 matches
Mail list logo