[plt-scheme] Catch an unknown method error

From: Filipe Cabecinhas (filcab at gmail.com)
Date: Sat Feb 23 13:22:27 EST 2008

On 23 Feb, 2008, at 17:35, Noel Welsh wrote:

> You probably just need to add this line:
>
>  (require (for-syntax scheme/base))
>
> A brief description here:
>
>  http://www.untyped.com/untyping/archives/2008/02/requiring_up_an.html
>
> N.

Nice, thanks. Now it works. I also removed the rename-in and imported  
the whole scheme/class. Then changed the macro's name to my-send and  
added a rename-out to send. Now the error doesn't say o:send.

Also, if I "execute" my module in DrScheme, my-send doesn't get  
renamed as send. Is this a feature (I may do what I want to stuff  
inside the module) or a bug?


F





Posted on the users mailing list.