tweaked week3
authorJim Pryor <profjim@jimpryor.net>
Sat, 18 Sep 2010 21:50:17 +0000 (17:50 -0400)
committerJim Pryor <profjim@jimpryor.net>
Sat, 18 Sep 2010 21:50:17 +0000 (17:50 -0400)
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
week3.mdwn

index a9ca3cd..9e67041 100644 (file)
@@ -14,7 +14,8 @@ In OCaml, you'd define that like this:
 
 In Scheme you'd define it like this:
 
-       (letrec [(get_length (lambda (lst) (if (null? lst) 0 [+ 1 (get_length (cdr lst))] )) )]
+       (letrec [(get_length
+                               (lambda (lst) (if (null? lst) 0 [+ 1 (get_length (cdr lst))] )) )]
                ... ; here you go on to use the function "get_length"
        )