Reports expressions with side effects in monadic transformations (map, flatMap, and filter).
map
flatMap
filter
Consider moving the monadic transformations to a separate foreach pass.
foreach
Example:
var a = 0 Seq(1, 2).map(a += _)