Re: Unit tests for a #lang implementation

Konrad Hinsen <[email protected]>
Newsgroups gmane.comp.lang.racket.user,gmane.lisp.scheme.plt
Message-ID <[email protected]>
On 25/08/2017 16:30, Matthew Flatt wrote:
> At Fri, 25 Aug 2017 16:04:01 +0200, Konrad Hinsen wrote:
>>> Putting those together, and using `current-namespace` so that both
>>> `eval-syntax` and check-module-form` use the same namespace:
>>
>> Thanks, that works!
>>
>> At least to the point of not getting any error message. I can't say if a
>> module is actually defined.
> 
> I should have suggested setting `current-module-declare-name` during
> evaluation of the module form, so that you get to pick the name:
> 

That adds the missing piece - thanks a lot! I had seriously 
underestimated the complexity of module definitions in Racket.

Konrad.

-- 
You received this message because you are subscribed to the Google Groups "Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.