[plt-scheme] minor glitch in Lazy Scheme?

From: Eli Barzilay (eli at barzilay.org)
Date: Sat Jan 13 12:04:51 EST 2007

On Jan 13, Prabhakar Ragde wrote:
> I was trying to look up the documentation for "read-line" and
> accidentally typed "readline" into the search box in Help Desk while
> accidentally being in Lazy Scheme instead of Pretty Big. What I got
> was an OS X "spinning pizza" and then a file save dialog box asking
> me where to put the "download", suggesting "results.ss". I cancelled
> that, set the language level properly, and everything worked
> fine. --PR

I'm not sure what the problem is.  I did this:
* Started DrScheme, switched to Lazy Scheme
* Hit f1
* enter "readline"
* click on any of the four results

No surprises -- all work as expected.  I suspect that you're doing
something different though.


> (PS I like Lazy Scheme a lot -- it's going to let me explain lazy
> evaluation to my students, and let them play with it a bit, without
> my having to teach them Haskell.)

Like Matthias said -- that was exactly the point.  I wanted to teach
lazy evaluation, and the choices were (a) switch to Haskell, (b) use
lazy streams.  (a) is too strong of a change to make any sense --
switching the syntax makes everything too confusing, having it
statically typed doesn't help too.  (b) is the traditional solution,
but I find it too weak when you want to demonstrate laziness properly.

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!


Posted on the users mailing list.