Permalink
Browse files

Minor type

"=" added to function signature (def myFct(bindings: Int*) { ... })
  • Loading branch information...
1 parent 5bf6174 commit 624b4369f266b62fe3ef9290f935ce8e7d9acfd8 @mkows mkows committed Nov 19, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 CheatSheet.md
View
@@ -26,7 +26,7 @@ There are certainly a lot of things that can be improved! If you would like to c
def square(x: Double) // call by value
def square(x: => Double) // call by name
- def myFct(bindings: Int*) { ... } // bindings is a sequence of int, containing a varying # of arguments
+ def myFct(bindings: Int*) = { ... } // bindings is a sequence of int, containing a varying # of arguments
```
## Higher order functions

0 comments on commit 624b436

Please sign in to comment.