Skip to content

Instantly share code, notes, and snippets.

@michaelschade
Created June 25, 2014 20:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michaelschade/804f8a6e19749a2f1247 to your computer and use it in GitHub Desktop.
Save michaelschade/804f8a6e19749a2f1247 to your computer and use it in GitHub Desktop.
20> func mult(a:Int)(b:Int) -> Int {
21. return a * b
22. }
23> mult(4)
$R10: (b: Int) -> Int =
24> mult(4)(b: 5)
$R11: Int = 20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment