diff --git a/docs/lectures/04-hof.html b/docs/lectures/04-hof.html index 6f34648..35d7c86 100644 --- a/docs/lectures/04-hof.html +++ b/docs/lectures/04-hof.html @@ -816,7 +816,7 @@
B. len = foldr (\n m -> n + m) 0
C. len = foldr (\_ n -> n + 1) 0
D. len = foldr (\x xs -> 1 + len xs) 0
E. All of the above
+E. None of the above
HINT: remember that foldr :: (a -> b -> b) -> b -> [a] -> b
!
diff --git a/lectures/04-hof.md b/lectures/04-hof.md
index 2614d92..90a6efd 100644
--- a/lectures/04-hof.md
+++ b/lectures/04-hof.md
@@ -826,7 +826,7 @@ Which of these is a valid implementation of `len`
**D.** `len = foldr (\x xs -> 1 + len xs) 0`
-**E.** All of the above
+**E.** None of the above
**HINT**: remember that `foldr :: (a -> b -> b) -> b -> [a] -> b`!