Wow.... Sequences. TIL. Hadn't made it that far through Kotlin in Action yet. That's a pretty big concept to be introduced by a single call to
asSequence()
. Looks really powerful. Does anyone have any thoughts on which approach they'd prefer to work with? (the initial iterative one vs. the sequences approach)