Using the Map and then using partition on that would result in two loops (I think), I agree it makes the method look more clever and clean, but I think it involves too much magic in one line. Also I don't see any use of &: operator anywhere in the code, better to keep it consistent ?