[PRL] scope of top-level defines

Eli Barzilay eli at barzilay.org
Tue Apr 5 02:03:06 EDT 2005


On Apr  4, Paul A. Steckler wrote:
> > Here:
> > 
> > | mzscheme -t lazy.ss
> > | Welcome to MzScheme version 209, Copyright (c) 2004 PLT Scheme, Inc.
> > | > (define x (cons 1 y))
> > | > (define y (cons 2 x))
> > | > (take 10 x)
> > | (1 2 1 2 1 2 1 2 1 2)
> 
> Now see if you can do (pun intended) monadic IO!

I don't have enough experience to do this in a few minutes, and
there's no reason for it to not be easily doable -- but the whole
point is that I have the strict world for such things, so why bother?

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



More information about the PRL mailing list