X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=blobdiff_plain;f=week1.mdwn;h=f2d4aebb677d376b02617fe4a55535f767c12714;hp=90ebbf1e8168348707d17b077f17e6acfdbf0b50;hb=8f243902e5437b1d6467a856c3fb935771cc70ce;hpb=f0c750e3d711ce8edf23a47b2040be55a8212c20 diff --git a/week1.mdwn b/week1.mdwn index 90ebbf1e..f2d4aebb 100644 --- a/week1.mdwn +++ b/week1.mdwn @@ -560,10 +560,13 @@ 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` +`in length` + +Here ...