From a92bbc12c3537a886f85ae063d5f77adfdb325d3 Mon Sep 17 00:00:00 2001 From: Chris Barker Date: Mon, 1 Nov 2010 15:26:02 -0400 Subject: [PATCH 1/1] Added assignmemnt 6 --- assignment6.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assignment6.mdwn b/assignment6.mdwn index 8c62e73d..853403db 100644 --- a/assignment6.mdwn +++ b/assignment6.mdwn @@ -5,8 +5,8 @@ answer along with a count of the number of operations performed during the calculation. That is, the desired behavior should be like this: # lift ( + ) (lift ( / ) (unit 20) (unit 2)) - (lift ( * ) (unit 2) (unit 3)) 0;; - - : int * int = (16, 3) + (lift ( * ) (unit 2) (unit 3)) 0;; + - : int * int = (16, 3) Here, `lift` is the function that uses `bind` to prepare an ordinary arithmetic operator (such as addition `( + )`, division `( / )`, or -- 2.11.0