Skip to content

Instantly share code, notes, and snippets.

@paulcarey
Created April 6, 2017 05:34
Show Gist options
  • Save paulcarey/adf57a79e3c714dc31e793eeae6a7d4b to your computer and use it in GitHub Desktop.
Save paulcarey/adf57a79e3c714dc31e793eeae6a7d4b to your computer and use it in GitHub Desktop.
val xs = List(1, 2, 3)
xs.??? => List(4, 5, 6)
xs.??? => List(1, -1, 2, -2, 3, -3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment