applyOrZero.

scala> Foreach from 0 flatCollect { case x if x % 2 == 0 => view(x, x) } take 10 mk_s ", "
res2: psp.std.String = 0, 0, 2, 2, 4, 4, 6, 6, 8, 8