[plt-scheme] Catch an unknown method error

From: Robby Findler (robby at cs.uchicago.edu)
Date: Sat Feb 23 15:10:34 EST 2008


On Feb 23, 2008, at 1:22 PM, Filipe Cabecinhas <filcab at gmail.com> wrote:

>
> 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?
>
>

Thats how it is designed (you're talking about the REPL in the module  
language right?). The REPL is inside the module

Robby

> F
>
>
>
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme


Posted on the users mailing list.