[Larceny-users] Ticket 638

Lynn Winebarger owinebar at gmail.com
Tue Apr 21 07:28:04 EDT 2009


Right.

On Tue, Apr 21, 2009 at 7:26 AM, Abdulaziz Ghuloum <aghuloum at gmail.com> wrote:
>
> On Apr 21, 2009, at 2:10 PM, Lynn Winebarger wrote:
>
>> [...] Why cause an error if the offending identifier never
>> even appears in the output of the macro?
>
> You're questioning "why does the following raise an exception instead of
> returning #t or #f like all predicates do?", right?
>
>> (import (rnrs))
> ;;; Autoloading ...
>
>> (free-identifier=? #'car #car)
> Error: syntax-violation: invalid reference: Attempt to use binding of car in
> library () at invalid level -1.  Binding is only available at levels: 0 1
> car
> Entering debugger; type "?" for help.
> debug>
>
> Aziz,,,
>



More information about the Larceny-users mailing list