www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 23201] New: std.ranges doesn't have any thing to handle


          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

Jun 20 2022