guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Prevent 'error' from being tail-called, for better diagnosti


From: Mark H Weaver
Subject: Re: [PATCH] Prevent 'error' from being tail-called, for better diagnostics
Date: Mon, 30 Jan 2012 11:32:08 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

Andy Wingo <address@hidden> writes:

> On Mon 30 Jan 2012 07:39, Mark H Weaver <address@hidden> writes:
>
>> One idea is to change 'error' into a macro, and use tricks similar to
>> what 'load' does, to cleverly makes it look like a procedure.
>
> Unfortunately this is an incompatible change.  Existing compiled files
> which reference the "error" binding expect it to be a procedure, not a
> macro.

Ah, good point.  Damn.

> To provide this source information, a technique like this one might be
> applicable: 
>
>   http://funcall.blogspot.com/2009/05/you-knew-id-say-something-part-iv.html

Thanks for the pointer, that sounds like a great strategy!

     Mark



reply via email to

[Prev in Thread] Current Thread [Next in Thread]