diff --git a/docs/lectures.html b/docs/lectures.html index 803827f..108e1e0 100644 --- a/docs/lectures.html +++ b/docs/lectures.html @@ -330,7 +330,7 @@
(D) (a -> b -> b) -> b -> [a] -> b
(E) (b -> a -> b) -> b -> [a] -> b
Answer: D
@@ -827,6 +828,7 @@
Is foldr
tail recursive?
Answer: No! It calls the binary operations on the results of the recursive call
diff --git a/docs/lectures/05-closure.html b/docs/lectures/05-closure.html
index 32cecac..c661677 100644
--- a/docs/lectures/05-closure.html
+++ b/docs/lectures/05-closure.html
@@ -134,8 +134,8 @@
(D) Binop -> Expr -> Expr -> Expr
(E) Binop -> Expr -> Value
Answer: B
@@ -457,7 +456,6 @@
(B) 1
(C) Runtime error
Answer: C
@@ -503,7 +501,6 @@
(B) 1
(C) Runtime error
Answer: B
@@ -674,7 +671,6 @@
(D) Error: unbound variable x
(E) Error: unbound variable y
Answer: C
@@ -694,7 +690,6 @@
(D) Error: unbound variable x
(E) Error: unbound variable y
Answer: C
@@ -717,7 +712,6 @@
(D) 2
(E) Error: multiple definitions of x
Answer: B
@@ -858,7 +852,6 @@
(D) 10
(E) 11
Answer: E
@@ -939,7 +932,6 @@
Conceptually, they both evaluate to a function that increments its argument
@@ -1086,7 +1078,6 @@
(D) 10
(E) 11
Answer: E
@@ -1108,7 +1099,6 @@
(B) 11
(C) 110
Answer: B
@@ -1232,7 +1222,6 @@
(B) Dynamic
(C) Neither
Answer: B
@@ -1439,7 +1428,6 @@
(C) 1120
(D) 1111
Answer: D
@@ -1488,7 +1476,6 @@
(B) 11
(C) 12
Answer: C
@@ -1532,7 +1519,6 @@
(B) Evaluation does not terminate
(C) Error: unbound variable f
Answer: C
diff --git a/lectures.md b/lectures.md
index bdd242c..d1c2143 100644
--- a/lectures.md
+++ b/lectures.md
@@ -24,7 +24,7 @@ Lecture schedule is subject to change!
| 11/1 | Higher Order Functions | [html][lec5] |
| 11/3 | contd. | |
| 11/6 | **Midterm** | |
-| 11/8 | Environments and Closures | |
+| 11/8 | Environments and Closures | [html][lec6] |
| 11/10 | *No lecture: Veterans Day* | |
| 11/13 | contd. | |
| 11/15 | contd. | |
diff --git a/site.hs b/site.hs
index 81aff93..df661f1 100644
--- a/site.hs
+++ b/site.hs
@@ -54,8 +54,8 @@ main = hakyll $ do
match "lectures/01-*" $ crunchWithCtxCustom "final" postCtx
match "lectures/02-*" $ crunchWithCtxCustom "final" postCtx
match "lectures/03-*" $ crunchWithCtxCustom "final" postCtx
- match "lectures/04-*" $ crunchWithCtxCustom "lecture" postCtx
- -- match "lectures/05-*" $ crunchWithCtxCustom "final" postCtx
+ match "lectures/04-*" $ crunchWithCtxCustom "final" postCtx
+ match "lectures/05-*" $ crunchWithCtxCustom "lecture" postCtx
-- match "lectures/06-*" $ crunchWithCtxCustom "final" postCtx
-- match "lectures/07-*" $ crunchWithCtxCustom "final" postCtx
-- match "lectures/08-*" $ crunchWithCtxCustom "final" postCtx