Skip to content

Instantly share code, notes, and snippets.

@kmizu
Created September 19, 2017 12:24
Show Gist options
  • Save kmizu/a478a5c5382d78a0d26e7983d599aa50 to your computer and use it in GitHub Desktop.
Save kmizu/a478a5c5382d78a0d26e7983d599aa50 to your computer and use it in GitHub Desktop.
line feed before dot
object G {
def main(args: Array[String]): Unit = {
println(
List(1, 2, 3)
.map{x => x * 2}
.filter{x => x > 2}
)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment