Skip to content

Instantly share code, notes, and snippets.

@eduardo22i
Created March 8, 2013 14:22
Show Gist options
  • Save eduardo22i/5116741 to your computer and use it in GitHub Desktop.
Save eduardo22i/5116741 to your computer and use it in GitHub Desktop.
scala> def squp (x:Int) = x*x
squp: (x: Int)Int
scala> squp(2)
res8: Int = 4
scala> squp(3)
res9: Int = 9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment