<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16640" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Has been solved.</FONT></DIV>
<DIV><FONT face=Arial size=2>With thanks to Matthew Flatt (and PLT in
general)</FONT></DIV>
<DIV><FONT face=Arial size=2>See <FONT face="Times New Roman" size=3>
</FONT><A href="http://bugs.plt-scheme.org/query/?cmd=view&pr=9466"><FONT
face="Times New Roman"
size=3>http://bugs.plt-scheme.org/query/?cmd=view&pr=9466</FONT></A></FONT></DIV>
<DIV><FONT face=Arial size=2>Jos</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=deinst@gmail.com href="mailto:deinst@gmail.com">David Einstein</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=plt-scheme@list.cs.brown.edu
href="mailto:plt-scheme@list.cs.brown.edu">PLT Scheme Mailing List</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Sunday, June 08, 2008 10:25
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [plt-scheme] How do optional
parameters work</DIV>
<DIV><BR></DIV>If I enter the following module into DrScheme, version
3.99.0.26-svn6jun2008 (self compiled on a ubuntu zmd64 (module
language)<BR><BR>#lang scheme<BR>(provide foo)<BR>(define (foo a #:optional (b
#f)) #t)<BR><BR>and hit check syntax <BR><BR>I get an internal
error<BR><BR>path->complete-path: expects argument of type <path (for
any platform) or string>; given |expanded module|<BR><BR>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)<BR><BR>I'm not sure whether I am screwed up, or this is a
bug. Probably both.<BR>
<P>
<HR>
<P></P>_________________________________________________<BR> For
list-related administrative tasks:<BR>
http://list.cs.brown.edu/mailman/listinfo/plt-scheme<BR></BLOCKQUOTE></BODY></HTML>