From: Chris Barker Date: Tue, 7 Dec 2010 18:07:00 +0000 (-0500) Subject: edit X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=commitdiff_plain;h=e1e73571e65c3c8c138f375a7893a1bd76fa2f4d;ds=sidebyside edit --- diff --git a/assignment9.mdwn b/assignment9.mdwn index 20a8968d..145904ae 100644 --- a/assignment9.mdwn +++ b/assignment9.mdwn @@ -122,10 +122,10 @@ val tail : unit -> int stream = (* Tail: a thunk *) (* Force the thunk to compute the second element *) # tail ();; -- : int stream = Next (2, [fun]) (* Second element: 2 *) +- : int stream = Next (2, [fun]) (* Second element: 2 *) # match tail () with Next (_, rest) -> rest ();; -- : int stream = Next (3, ) (* Third element: 3 *) +- : int stream = Next (3, ) (* Third element: 3 *) You can think of `int_stream` as a functional object that provides