[plt-scheme] How do optional parameters work

From: David Einstein (deinst at gmail.com)
Date: Sun Jun 8 16:25:37 EDT 2008

If I enter the following module into DrScheme, version
(self compiled on a ubuntu zmd64 (module language)

#lang scheme
(provide foo)
(define (foo a #:optional (b #f)) #t)

and hit check syntax

I get an internal error

path->complete-path: expects argument of type <path (for any platform) or
string>; given |expanded module|

and Dr scheme is in a confused state  with nothing showing up in the
definitions window  (it does not want to look at my code, and so it assumes
that I don't either)

I'm not sure whether I am screwed up, or this is a bug.  Probably both.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20080608/7a5c492d/attachment.html>

Posted on the users mailing list.