[Issue 8882] map, filter, iota and zip in pure (and nothrow) functions

2017-08-30 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8882 --- Comment #10 from ZombineDev --- (In reply to RazvanN from comment #9) > (In reply to ZombineDev from comment #8) > > While, the OP code compiles, zip is not yet nothrow. See: > > > > ``` > > import std.algorithm: map, filter; > > import std.range

[Issue 8882] map, filter, iota and zip in pure (and nothrow) functions

2017-08-30 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8882 RazvanN changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Issue 8882] map, filter, iota and zip in pure (and nothrow) functions

2017-08-29 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8882 ZombineDev changed: What|Removed |Added Status|RESOLVED|REOPENED CC|

[Issue 8882] map, filter, iota and zip in pure (and nothrow) functions

2017-08-28 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8882 RazvanN changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 8882] map, filter, iota and zip in pure (and nothrow) functions

2014-01-16 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=8882 --- Comment #5 from bearophile_h...@eml.cc 2014-01-16 13:50:42 PST --- (In reply to comment #4) > Bah, I think illegal input should Error. Problem solved. Changing an exception -> error changes the API of iota(), but in this case I think ther

[Issue 8882] map, filter, iota and zip in pure (and nothrow) functions

2014-01-16 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=8882 --- Comment #6 from monarchdo...@gmail.com 2014-01-16 13:53:55 PST --- (In reply to comment #5) > (In reply to comment #4) > > > Bah, I think illegal input should Error. Problem solved. > > Changing an exception -> error changes the API of io

[Issue 8882] map, filter, iota and zip in pure (and nothrow) functions

2014-01-16 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=8882 monarchdo...@gmail.com changed: What|Removed |Added CC||monarchdo...@gmail.com --- Co

[Issue 8882] map, filter, iota and zip in pure (and nothrow) functions

2014-01-14 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=8882 --- Comment #3 from bearophile_h...@eml.cc 2014-01-14 13:22:18 PST --- (In reply to comment #2) > zip can throw because of StoppingPolicy.requireSameLength, and iota(x,y,z) > throws when z can be 0. iota(x) and iota(x,y) are nothrow. even iot

[Issue 8882] map, filter, iota and zip in pure (and nothrow) functions

2014-01-14 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=8882 --- Comment #2 from bearophile_h...@eml.cc 2014-01-14 03:16:34 PST --- The situation has now improved: import std.algorithm: map, filter; import std.range: iota, zip; void main() pure nothrow { foreach (_; map!q{a * a}([1, 2, 3])) {}

[Issue 8882] map, filter, iota and zip in pure (and nothrow) functions

2012-10-24 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8882 bioinfornatics changed: What|Removed |Added CC||bioinfornat...@gmail.com --- Comment