Bug 23201 – std.ranges doesn't have any thing to handle extremely nested ranges

Status
NEW
Severity
enhancement
Priority
P4
Component
phobos
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2022-06-21T02:46:53Z
Last change time
2024-12-01T16:40:09Z
Assigned to
No Owner
Creator
crazymonkyyy
Moved to GitHub: phobos#10494 →

Attachments

IDFilenameSummaryContent-TypeSize
1856ndepthranges.dDescribe the attachment briefly.text/x-dsrc1879

Comments

Comment #0 by crazymonkyyy — 2022-06-21T02:46:53Z
Created attachment 1856 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
Comment #1 by robert.schadek — 2024-12-01T16:40:09Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/10494 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB