Skip to content

Commit

Permalink
Slides
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Machacek committed Feb 13, 2012
1 parent f1853ee commit 5e59ae1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
Binary file modified slides/intro to scala.key
Binary file not shown.
Expand Up @@ -15,6 +15,7 @@ object Functions {

def main(args: Array[String]) {
// val f: Double => Double = (d: Double) => d * d
val multiple = (n: Int) => (i: Int) => i * n
val f = (x: Double, y: Double) => x * y
val fWithXEq5 = f(5, _: Double)
val oneTimeX = curry(1)_
Expand Down

0 comments on commit 5e59ae1

Please sign in to comment.