Skip to content

Instantly share code, notes, and snippets.

@angellandros
Created January 11, 2019 13:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save angellandros/44d17cc964021221ccfd339274db396e to your computer and use it in GitHub Desktop.
Save angellandros/44d17cc964021221ccfd339274db396e to your computer and use it in GitHub Desktop.
val s = List(1, 2, 3) map (_*2) reduce (_+_)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment