From: Jim Pryor Date: Fri, 24 Dec 2010 04:55:02 +0000 (-0500) Subject: ass10 tweaks X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=commitdiff_plain;h=45dc4d9bd0e0b6e3526e3791922dbf8369083f64 ass10 tweaks Signed-off-by: Jim Pryor --- diff --git a/assignment10.mdwn b/assignment10.mdwn index 8e5bf2da..ba4df372 100644 --- a/assignment10.mdwn +++ b/assignment10.mdwn @@ -152,7 +152,7 @@ Of course, if you need help or want us to review your efforts, we'll be glad to ((eq? (car lst) before) (insert-co new before after (cdr lst) (lambda (new-lst lefts rights) (k (cons new (cons before new-lst)) (succ lefts) rights)))) ((eq? (car lst) after) - (insert-co new before after (cdr lst) (lambda (new-lst lefts rights) (k (cons (after (cons new new-lst))) lefts (succ rights))))) + (insert-co new before after (cdr lst) (lambda (new-lst lefts rights) (k (cons after (cons new new-lst)) lefts (succ rights))))) (else (insert-co new before after (cdr lst) (lambda (new-lst lefts rights) (k (cons (car lst) new-lst) lefts rights))))))) -->