[plt-scheme] bugs in snapshot mz-3.99.0.10

From: Eli Barzilay (eli at barzilay.org)
Date: Mon Feb 11 09:29:30 EST 2008

(Sorry about the error message.  Tom: I don't know what you did, but
you used the wrong email and still it got to the list.)


On Feb 11, Tom Schouten wrote:
> hello,
> 
> moving to 3.99 i found some bugs in snapshot mz-3.99.0.10
> downloaded Mon Feb 11 2008
> 
> 1.
> 
> > (require (lib "lazy.ss" "srfi" "45"))
> > (s:force (s:delay '()))
> 
> gives the error:
> car: expects argument of type <pair>; given {#f . #<procedure>}
> 
> changed car -> mcar on line 33 in collects/srfi/45/lazy.ss

I fixed that, but it should be considered a temporary solution.  The
usual mzscheme promises support everything that srfi-45 needs, so it
should switch to that at some point.


> 2.
> 
> sleep: expects argument of type <non-negative real number>; given #f
> 
>  === context ===
> /usr/local/mz-3.99.0.10/collects/scheme/sandbox.ss:218:21
> 
> (call-with-limits sec mb thunk)
> ;; sec -> #f
> 
> the doc says the parameter can be false, so i wrapped a (when sec ...)
> around the body of the timer thread thunk.

Fixed too, thanks.

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


Posted on the users mailing list.