X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?a=blobdiff_plain;f=week1.mdwn;h=6b9dd41f4fe6e1aa4d68019de45a5cd7866096ae;hb=c73a02174f69cc7d96bdfa080caf5343b9486389;hp=90ebbf1e8168348707d17b077f17e6acfdbf0b50;hpb=f0c750e3d711ce8edf23a47b2040be55a8212c20;p=lambda.git diff --git a/week1.mdwn b/week1.mdwn index 90ebbf1e..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`