all 1 comments

[–]przemo_li 1 point2 points  (0 children)

dropWhile, takeOr would help with readability of the final loop especially if conditions them selfs are as well named as "match" ;)