Skip to content

Instantly share code, notes, and snippets.

@faermanj
Created April 23, 2015 21:01
Show Gist options
  • Save faermanj/c97f3ce3db40df9f25f4 to your computer and use it in GitHub Desktop.
Save faermanj/c97f3ce3db40df9f25f4 to your computer and use it in GitHub Desktop.
for((x,i) <- xs.view.zipWithIndex) println("String #" + i + " is " + x)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment