[plt-scheme] Re: Warnings from macros?

From: Robby Findler (robby at cs.uchicago.edu)
Date: Thu Oct 16 07:21:50 EDT 2008

On Thu, Oct 16, 2008 at 2:23 AM,  <kbohdan at mail.ru> wrote:
> Robby Findler wrote:
>>
>> Another thing you can do is create a syntax exception with multiple
>> source locations and raise it, if you want to insist that there not be
>> any ambiguities, but also want to signal them all at once.
>
> <snip>
>
> Have related question: How to emit output identical to multiple syntax
> exceptions? I mean multiple messages each with nice red buttons (in
> DrScheme) to display related source code. This can be very useful to show
> multiple failed test cases or multiple grammar ambiguities in original
> question.
> BTW is it possible in DrScheme to show warning messages with buttons similar
> to ones in error messages ?

At the moment, the only real option is to create a syntax error that
might have multiple source locations.

typed scheme actually creates separate threads to be able to raise
multiple exceptions, but I'm not sure if that's really going to work
long term.

Robby


Posted on the users mailing list.