Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
February 09, 2018 [Issue 14543] std.algorithm.searching.until does not handle range sentinels nicely | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14543 Seb <greensunny12@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |greensunny12@gmail.com --- Comment #1 from Seb <greensunny12@gmail.com> --- Agreed. Any idea how we can fix this without breaking code? Do we need to introduce a special enum? OpenRight { yes, no, full } -- |
March 31, 2018 [Issue 14543] std.algorithm.searching.until does not handle range sentinels nicely | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14543 Seb <greensunny12@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |bootcamp -- |
September 14, 2022 [Issue 14543] std.algorithm.searching.until does not handle range sentinels nicely | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14543 Paul Backus <snarwin+bugzilla@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |snarwin+bugzilla@gmail.com --- Comment #2 from Paul Backus <snarwin+bugzilla@gmail.com> --- It's possible to get the desired result here using `findSplit`: --- void main() { import std.algorithm, std.range; auto result = "one two three".findSplit("two").expand[0 .. $-1].chain; assert(result.equal("one two")); } --- -- |
September 16, 2022 [Issue 14543] std.algorithm.searching.until does not handle range sentinels nicely | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14543 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> --- @jamesragray updated dlang/phobos pull request #8568 "Issue 14543 std.algorithm.searching.until does not handle range sentinels nicely" fixing this issue: - Fix issue 14543: std.algorithm.searching.until does not handle range sentinels nicely https://github.com/dlang/phobos/pull/8568 -- |
September 16, 2022 [Issue 14543] std.algorithm.searching.until does not handle range sentinels nicely | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14543 --- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> --- @jamesragray created dlang/phobos pull request #8570 "Alternative fix for issue 14543: std.algorithm.searching.until does n…" mentioning this issue: - Alternative fix for issue 14543: std.algorithm.searching.until does not handle range sentinels nicely. https://github.com/dlang/phobos/pull/8570 -- |
December 17, 2022 [Issue 14543] std.algorithm.searching.until does not handle range sentinels nicely | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=14543 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P3 -- |
Copyright © 1999-2021 by the D Language Foundation