Skip to content

Instantly share code, notes, and snippets.

@pirita
Created June 5, 2015 09:48
Show Gist options
  • Select an option

  • Save pirita/369997fb31bd96b647c1 to your computer and use it in GitHub Desktop.

Select an option

Save pirita/369997fb31bd96b647c1 to your computer and use it in GitHub Desktop.
implicit def strToInt(x: String): Int = x.toInt
val y: Int = "123"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment