Skip to content

Instantly share code, notes, and snippets.

@madeleine-chercover-hs
Last active December 15, 2017 21:48
Show Gist options
  • Save madeleine-chercover-hs/8e1864be3bb5d16529b92a653f7343d5 to your computer and use it in GitHub Desktop.
Save madeleine-chercover-hs/8e1864be3bb5d16529b92a653f7343d5 to your computer and use it in GitHub Desktop.
val indexedList: List[(EncryptedMessage, Int)] = encryptedMessages.zipWithIndex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment