July 04, 2014 transposed problem | ||||
|---|---|---|---|---|
| ||||
Is this another bug in std.range.transposed?
void main() {
import std.stdio, std.algorithm, std.range;
auto M = [[[1, 2]], [[3, 4]]];
M.filter!(r => r.dup.transposed.walkLength).writeln;
M.filter!(r => r.transposed.walkLength).writeln;
}
Output with the latest dmd:
[[[1, 2]], [[3, 4]]]
[[[]], [[]]]
Bye,
bearophile
| ||||
July 04, 2014 Re: transposed problem | ||||
|---|---|---|---|---|
| ||||
Posted in reply to bearophile | https://issues.dlang.org/show_bug.cgi?id=13041 Bye, bearophile | |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply