X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=blobdiff_plain;f=week1.mdwn;h=6b9dd41f4fe6e1aa4d68019de45a5cd7866096ae;hp=3984eec33b4791231beb31faa471e9b87070374e;hb=c73a02174f69cc7d96bdfa080caf5343b9486389;hpb=40b8315f0c5506bf72fd6dab493ad3560817d002 diff --git a/week1.mdwn b/week1.mdwn index 3984eec3..6b9dd41f 100644 --- a/week1.mdwn +++ b/week1.mdwn @@ -560,10 +560,10 @@ It may be helpful to contrast these recursive-style definitons to the way one wo   `empty? match` λ `xs.` *this definition left as an exercise*;   `tail match` λ `xs.` *this definition left as an exercise*;   `length match` λ `xs. let` -                                             `n := 0;` -              `while not (empty? xs) do` -                `n := n + 1;` -                `xs := tail xs` -              `end` -            `in n` +                                         `n := 0;` +                                         `while not (empty? xs) do` +                                           `n := n + 1;` +                                           `xs := tail xs` +                                         `end` +                                      `in n`