[plt-scheme] Catch an unknown method error

From: Jens Axel Soegaard (jensaxel at soegaard.net)
Date: Sat Feb 23 15:17:07 EST 2008

Robby Findler wrote:
> 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

Filipe, if you want to be "outside" the module, use the Pretty Big
language and then use (require name-of-module) in the REPL.

Jens Axel Søgaard

Posted on the users mailing list.