March 02, 2017 [Issue 12564] std.range.backWalk, std.range.backWalkMaybe | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=12564 greenify <greeenify@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |greeenify@gmail.com Resolution|--- |WONTFIX --- Comment #1 from greenify <greeenify@gmail.com> --- Due to the discussion at https://github.com/dlang/phobos/pull/5153, I am closing this as WONTFIX as it can be done easily with: ``` auto last = r.fold!((a, b) => b); ``` For Maybe have a look at this PR: https://github.com/dlang/phobos/pull/5154 It allows the following range.orElse(seed).fold!`b` -- |
Copyright © 1999-2021 by the D Language Foundation