From: Jim Pryor Date: Sun, 3 Oct 2010 17:26:26 +0000 (-0400) Subject: assignment3 tweak X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=commitdiff_plain;h=77c732f19c13e5eea90fb0553c2fcc35afcdea2e assignment3 tweak Signed-off-by: Jim Pryor --- diff --git a/assignment3.mdwn b/assignment3.mdwn index 72c6f28d..50495f52 100644 --- a/assignment3.mdwn +++ b/assignment3.mdwn @@ -56,9 +56,9 @@ Warning: it takes a long time for my browser to compute factorials larger than 4 3. (Easy) Write a function `equal_length` that returns true just in case two lists have the same length. That is, - equal_length mylist (make_list junk (make_list junk (make_list junk empty))) ~~> true + equal_length mylist (make_list junk (make_list junk (make_list junk empty))) ~~> true - equal_length mylist (make_list junk (make_list junk empty))) ~~> false + equal_length mylist (make_list junk (make_list junk empty))) ~~> false 4. (Still easy) Now write the same function, but don't use the length