From 442a8534983a824eec968ce2bb113fe60e0b1007 Mon Sep 17 00:00:00 2001 From: Chris Date: Sat, 4 Apr 2015 12:03:19 -0400 Subject: [PATCH] one more exercise --- exercises/_assignment8.mdwn | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/exercises/_assignment8.mdwn b/exercises/_assignment8.mdwn index 8e28810c..a05707ac 100644 --- 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. -- 2.11.0