REPL could auto-snip when the comment says `// snip` to show the result of interest. ```scala scala> for (s <- List("ab","abc") ; X(i) = s if i > 2) yield i // show [snip] val res0 = List("ab", "abc").map(((s) => { .... ```