[plt-scheme] incorrect example in documentation

From: David T. Pierson (dtp at mindstory.com)
Date: Sun Apr 13 08:41:51 EDT 2008

Section 6.7 of the mzscheme docs (link below) has this example
code:

    (parameterize ([break-enabled #f])
      (with-handlers ([exn:break? (lambda (x) (void))])
        (semaphore-wait/enable-break s)))

I believe the example should be:

    (parameterize-break #f
      (with-handlers ([exn:break? (lambda (x) (void))])
        (semaphore-wait/enable-break s)))


The example is at http://download.plt-scheme.org/doc/372/html/mzscheme/mzscheme-Z-H-6.html#node_sec_6.7


David





Posted on the users mailing list.