[Issue 23201] New: std.ranges doesn't have any thing to handle extremely nested ranges
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jun 21 02:46:53 UTC 2022
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 at puremagic.com
Reporter: crazymonkyyy at 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
--
More information about the Digitalmars-d-bugs
mailing list