On Saturday, 27 October 2018 at 16:54:59 UTC, Per Nordlöw wrote:
that can group elements using a binary predicate being able to do to the following.

Oops, turns out I already had this at

https://github.com/nordlow/phobos-next/blob/721374f3815db41cc213b108f81ca13ea7b93721/src/slicing.d#L12

This is a less generic solution though with a unary predicate but it works in my case.

Still looking for a more general solution.

Reply via email to