The poor understandability of the original one-liner stems from its lengthy expressions, not the use of a one-liner itself. Adding a few helpers can significantly enhance clarity and make the one-liner, or even a fp-like iteration as comprehensible as for-if.
add a skeleton here at some point
25 days ago