[Issue 8803] map.filter.array run map delegate an incorrect number of time.

2012-10-17 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8803 --- Comment #7 from deadalnix deadal...@gmail.com 2012-10-17 02:47:53 PDT --- (In reply to comment #5) (In reply to comment #4) The problem is that the delegate get executed an impredictable number of time. Which make side effect

[Issue 8803] map.filter.array run map delegate an incorrect number of time.

2012-10-17 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8803 --- Comment #8 from Peter Alexander peter.alexander...@gmail.com 2012-10-17 04:54:17 PDT --- (In reply to comment #7) Well, I do think many valid uses include impure functions, even in sort. For instance for benchmarking purpose, for

[Issue 8803] map.filter.array run map delegate an incorrect number of time.

2012-10-17 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8803 --- Comment #9 from deadalnix deadal...@gmail.com 2012-10-17 05:24:12 PDT --- (In reply to comment #8) (In reply to comment #7) Well, I do think many valid uses include impure functions, even in sort. For instance for benchmarking purpose,

[Issue 8803] map.filter.array run map delegate an incorrect number of time.

2012-10-17 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8803 Andrei Alexandrescu and...@metalanguage.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 8803] map.filter.array run map delegate an incorrect number of time.

2012-10-17 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8803 --- Comment #12 from deadalnix deadal...@gmail.com 2012-10-17 09:27:27 PDT --- (In reply to comment #11) There are clear advantages and disadvantages of both approaches, and reasonable people may disagree on the choice. I will close this;

[Issue 8803] map.filter.array run map delegate an incorrect number of time.

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8803 Peter Alexander peter.alexander...@gmail.com changed: What|Removed |Added CC|

[Issue 8803] map.filter.array run map delegate an incorrect number of time.

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8803 --- Comment #2 from deadalnix deadal...@gmail.com 2012-10-16 10:17:43 PDT --- (In reply to comment #1) I'm assuming the bug here is that map's ddoc says it caches front, but it clearly isn't. I've updated the ddoc to reflect this.

[Issue 8803] map.filter.array run map delegate an incorrect number of time.

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8803 --- Comment #3 from Peter Alexander peter.alexander...@gmail.com 2012-10-16 13:59:38 PDT --- (In reply to comment #2) Being unable to do .map.filter defeat the whole point of map and filter. Sorry, I'm not following. Why are you saying you

[Issue 8803] map.filter.array run map delegate an incorrect number of time.

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8803 --- Comment #4 from deadalnix deadal...@gmail.com 2012-10-16 14:20:32 PDT --- (In reply to comment #3) (In reply to comment #2) Being unable to do .map.filter defeat the whole point of map and filter. Sorry, I'm not following. Why are you

[Issue 8803] map.filter.array run map delegate an incorrect number of time.

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8803 --- Comment #5 from Peter Alexander peter.alexander...@gmail.com 2012-10-16 14:31:13 PDT --- (In reply to comment #4) The problem is that the delegate get executed an impredictable number of time. Which make side effect extremely hard to

[Issue 8803] map.filter.array run map delegate an incorrect number of time.

2012-10-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8803 Alex R�nne Petersen a...@lycus.org changed: What|Removed |Added CC||a...@lycus.org