For higher-order functions like `flatMap`, `filter`, `collect`, etc., it's common style to use infix operator syntax like:

    foos flatMap { foo =>
      ...
    }

In other words, no dot. Same comment applies to l29 and l34.