Skip to content

Instantly share code, notes, and snippets.

@dsebban
Created April 25, 2018 11:54
Show Gist options
  • Save dsebban/86ee3f325cff65cde79c60eeb22e7320 to your computer and use it in GitHub Desktop.
Save dsebban/86ee3f325cff65cde79c60eeb22e7320 to your computer and use it in GitHub Desktop.
scala> val name = "daniel"
name: String = daniel
scala> val one = 1
one: Int = 1
scala> val oneAndTwoAsTuple = (1,2)
oneAndTwoAsTuple: (Int, Int) = (1,2)
scala> val oneAndTwoInAList = List(1,2)
oneAndTwoInAList: List[Int] = List(1, 2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment