Skip to content
Snippets Groups Projects
Commit 55f4baf2 authored by Matt Bovel's avatar Matt Bovel
Browse files

Fix typo

parent 4088bc91
Branches
No related tags found
No related merge requests found
...@@ -156,7 +156,7 @@ for eval <- Seq(eval1, eval2) do ...@@ -156,7 +156,7 @@ for eval <- Seq(eval1, eval2) do
### Exercise 3.1 ### Exercise 3.1
- Type parameter `A` in `map` - Type parameter `A` in `map`
- `def map[C](f: B => C): Transform[B, C]` - `def map[C](f: B => C): Transform[A, C]`
### Exercise 3.2 ### Exercise 3.2
...@@ -322,4 +322,4 @@ def increasingSequences(list: List[Int]): List[List[Int]] = list match ...@@ -322,4 +322,4 @@ def increasingSequences(list: List[Int]): List[List[Int]] = list match
**Comments** **Comments**
- It is important to store `prefix` to avoid calling twice `takeWhileStrictlyIncreasing`. - It is important to store `prefix` to avoid calling twice `takeWhileStrictlyIncreasing`.
- In the empty list case, some students made the confusion of returning a list containing the empty list. In this case, we have: `List[List[Int]]() == Nil != List(Nil) == List(List[Int]())`. - In the empty list case, some students made the confusion of returning a list containing the empty list. In this case, we have: `List[List[Int]]() == Nil != List(Nil) == List(List[Int]())`.
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment