Returns an array of [takeWhile(pred, coll), dropWhile(pred, coll)]