June 21, 2022 [Issue 23201] New: std.ranges doesn't have any thing to handle extremely nested ranges | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23201 Issue ID: 23201 Summary: std.ranges doesn't have any thing to handle extremely nested ranges Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nobody@puremagic.com Reporter: crazymonkyyy@gmail.com Created attachment 1856 --> https://issues.dlang.org/attachment.cgi?id=1856&action=edit Describe the attachment briefly. I was playing with subdividing polygons, i.e. `shape[] foo(shape)` type headers, with stacking 6 functions on top of each other. Working with it without writing some utilities was needlessly verbose `a.map!(a=>a.map!(a=>a.map!(a=>a.map!(` etc. there should probably be some basic utilities in the std feel free to clean up my code or use it for inspiration -- |
Copyright © 1999-2021 by the D Language Foundation