[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 changed: What|Removed |Added Status|NEW |RESOLVED CC|

[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 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; formerly map did c

[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 William Moore changed: What|Removed |Added CC||nyphb...@gmail.com --- Comment #10 fro

[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 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, for educationa

[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 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 educational purpose, for caching.

[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 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 extremely hard to h

[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 changed: What|Removed |Added CC||a...@lycus.org --- Comment #6 fr

[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 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 handle (I ended up using > map

[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 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 saying you can

[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 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 can't do a .map.filter? You c

[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 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. > > https://github.com/D-Pro

[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 changed: What|Removed |Added CC||peter.alexander...@gmail.co