[Issue 4729] std.algorithm: strange iota behaviour

2013-03-12 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4729 Andrei Alexandrescu and...@erdani.com changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Issue 4729] std.algorithm: strange iota behaviour

2013-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4729 --- Comment #5 from bearophile_h...@eml.cc 2013-01-04 17:53:04 PST --- (In reply to comment #4) In latest git head, throws an exception. Is this acceptable (should the bug be closed)? Or is it better to have reduce return

[Issue 4729] std.algorithm: strange iota behaviour

2013-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4729 --- Comment #6 from hst...@quickfur.ath.cx 2013-01-04 18:17:16 PST --- The problem here is that no start value is given. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail

[Issue 4729] std.algorithm: strange iota behaviour

2013-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4729 --- Comment #7 from bearophile_h...@eml.cc 2013-01-04 18:36:53 PST --- (In reply to comment #6) The problem here is that no start value is given. In this case Python raises an error. I think this is acceptable: reduce(lambda a,b: a * b, [])

[Issue 4729] std.algorithm: strange iota behaviour

2013-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4729 --- Comment #8 from hst...@quickfur.ath.cx 2013-01-04 22:11:08 PST --- In that case, we should probably close the bug, since the latest Phobos throws an exception upon calling reduce() with an empty range and no start value. -- Configure

[Issue 4729] std.algorithm: strange iota behaviour

2013-01-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4729 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx ---

[Issue 4729] std.algorithm: strange iota behaviour

2012-02-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4729 Brad Anderson e...@gnuk.net changed: What|Removed |Added CC||e...@gnuk.net ---

[Issue 4729] std.algorithm: strange iota behaviour

2011-01-09 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4729 Andrei Alexandrescu and...@metalanguage.com changed: What|Removed |Added Status|NEW |ASSIGNED

[Issue 4729] std.algorithm: strange iota behaviour

2010-08-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4729 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc

[Issue 4729] std.algorithm: strange iota behaviour

2010-08-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4729 --- Comment #2 from Max Klyga necrom...@gmail.com 2010-08-26 07:50:27 PDT --- This bug was introduced in 2.048, as is 2.047 iota stops but fails shortly after: src/phobos/std/algorithm.d(279): Enforcement failed -- Configure issuemail: