Formatting got screwed up while you were modifying this code. It should be:
```
val ....map({
    parameter -> ...
}).makeString(...)
```