On Thursday, 21 December 2017 at 15:59:44 UTC, Steven Schveighoffer wrote:
Here's a similar solution with an actual range:

https://run.dlang.io/is/gR3CjF

Note, all done lazily. However, the indices must be sorted/unique.

-Steve

Noice! :D

Reply via email to