<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Oddly, the problem seems to have vanished, after I switched from Swindle to PrettyBig, and back again. Will post something more substantial if it reappears.<br><br>Thanks,<br><br>Michael<br><br>--- On <b>Mon, 12/28/09, Robby Findler <i><robby@eecs.northwestern.edu></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Robby Findler <robby@eecs.northwestern.edu><br>Subject: Re: [plt-scheme] Not so hygienic macros?<br>To: "michael rice" <nowgate@yahoo.com><br>Cc: plt-scheme@list.cs.brown.edu<br>Date: Monday, December 28, 2009, 10:39 AM<br><br><div class="plainMail">That doesn't sound like a lack of hygiene.<br><br>Its hard to tell what is going on without a program, but my guess is<br>that you wrote a program that boils down to this one:<br><br> #lang scheme<br>
(set! match 5)<br><br>and the error message is telling you that you're trying to assign to<br>one of the imports to your library.<br><br>Note that if you had written this:<br><br> #lang scheme<br> (define match 6)<br> (set! match 5)<br><br>the definition of 'match' in the body of the module would have<br>shadowed the import and you'd just get the local version of match<br>only.<br><br>hth,<br>Robby<br><br><br>On Mon, Dec 28, 2009 at 9:28 AM, michael rice <<a ymailto="mailto:nowgate@yahoo.com" href="/mc/compose?to=nowgate@yahoo.com">nowgate@yahoo.com</a>> wrote:<br>><br>> I have a function named MATCH and I seem to be mixing it up with underlying macro code. At least that's what I think is happening.<br>><br>> The error message: set!: cannot mutate syntax identifier in: match<br>><br>> Must I change the name of my function?<br>><br>> Michael<br>><br>><br>>
_________________________________________________<br>> For list-related administrative tasks:<br>> <a href="http://list.cs.brown.edu/mailman/listinfo/plt-scheme" target="_blank">http://list.cs.brown.edu/mailman/listinfo/plt-scheme</a><br>><br></div></blockquote></td></tr></table><br>