Skip to content

Commit

Permalink
updating return slide
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmad Ragab committed Nov 10, 2018
1 parent 2614a05 commit 05aa5f2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions assets/md/02a_return/PITCHME.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@ def wtf: Int = {
val sumFold: List[Int] => Int = _.foldLeft(0)((n, m) => return n + m)
sumFold(List(0,1,2)) + sumFold(List(3,4,5))
}
// scala> wtf
// res1: Int = 0 ...ARE YOU NOT ENTERTAINED?
```
@[13](when evaluated abandons current computation and returns from the `method`)
@[13](res1: Int = 0 ...ARE YOU NOT ENTERTAINED?)

+++
@snap[north]
Expand Down

0 comments on commit 05aa5f2

Please sign in to comment.