[Top][All Lists]

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

Re: Problem with cond macro.

From: Julian v. Bock
Subject: Re: Problem with cond macro.
Date: Tue, 16 Apr 2002 10:49:18 +0200
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i686-pc-linux-gnu)


>>>>> "PV" == Panagiotis Vossos <address@hidden> writes:

PV> Ok, I just started studying macros, so I might be missing
PV> something obvious, but the following example from r5rs doesn't
PV> work correctly with guile:

guile> (version)
PV> "1.5.6"
guile> (let ((=> #f))
PV>      (cond (#t => 'ok))) standard input:3:10: In expression (cond
PV> (#t => #)): standard input:3:10: Wrong type to apply: ok ABORT:
PV> (misc-error)

This works only if cond is implemented as a R5RS macro. This is not
guaranteed by the standard though.


reply via email to

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