[racket] plot-frame does not wait at end of process

From: Laurent (laurent.orseau at gmail.com)
Date: Sun Mar 17 05:42:23 EDT 2013

So, does this means that Deren's program from
http://lists.racket-lang.org/users/archive/2012-April/051490.html
would then look like that:

#lang racket
(require plot)
(plot-new-window? #t)
(let loop ()
  (let ((dummy (read)))
    (if (and (number? dummy) (zero? dummy))
        (void)
        (begin
          (parameterize ([current-eventspace (make-eventspace)])
            (plot (function (λ(x) (* x x)) -2 2)))
          (loop)))))

?

Laurent


On Sun, Mar 17, 2013 at 7:15 AM, Eli Barzilay <eli at barzilay.org> wrote:

> On Thursday, Robby Findler wrote:
> > Also: I don't think that you need a parameter for this default. the
> > current-eventspace parameter would already do this job.
>
> IOW, Robby wants no keyword or parameter, just the default behavior,
> and if there's a problem with that then people would deal with it like
> with any other gui code.  FWIW, I'm on that side too.
>
> --
>           ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
>                     http://barzilay.org/                   Maze is Life!
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130317/ed827420/attachment-0001.html>

Posted on the users mailing list.