projects
/
lambda.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fa2ebb
)
one more exercise
author
Chris
<chris.barker@nyu.edu>
Sat, 4 Apr 2015 16:03:19 +0000
(12:03 -0400)
committer
Chris
<chris.barker@nyu.edu>
Sat, 4 Apr 2015 16:03:19 +0000
(12:03 -0400)
exercises/_assignment8.mdwn
patch
|
blob
|
history
diff --git
a/exercises/_assignment8.mdwn
b/exercises/_assignment8.mdwn
index
8e28810
..
a05707a
100644
(file)
--- a/
exercises/_assignment8.mdwn
+++ b/
exercises/_assignment8.mdwn
@@
-44,3
+44,8
@@
When you have it working, try
# match eval t2 with Leaf (Num f) -> f g;;
- : int = 13
+3. Add in the maybe monad. Start here:
+
+ type num = env -> int option
+
+ Show that your code handles division by zero gracefully.