Subject: Re: nested backquote and cmucl
From: rpw3@rpw3.org (Rob Warnock)
Date: Sun, 18 Sep 2005 20:32:01 -0500
Newsgroups: comp.lang.lisp
Message-ID: <qJWdneThI6qMiLPeRVn-tg@speakeasy.net>
Harald Hanche-Olsen  <hanche@math.ntnu.no> wrote:
+---------------
| + "Alexander" <malishev@gmail.com>:
| | Clisp:
| | [2]> (eval ``(,,@(list 1 2 3) 10))
| | (1 2 3 10)
+---------------

FWIW, a *really* old version of CLISP (2.29) barfs with this error:

    *** - EVAL: too many arguments given to CONS: (CONS 1 2 3 '(10))

+---------------
| | Cmucl 19a:
| | * (eval ``(,,@(list 1 2 3) 10))
| | Invalid number of arguments: 4
| |    [Condition of type KERNEL:SIMPLE-PROGRAM-ERROR]
| | 
| | Why I get error on cmucl ? Is the expression correct?
| 
| FWIW, I get (1 2 3 10) on cmucl 19a under FreeBSD.  Ditto with cmucl
| 19a under Solaris.  What architecture are you running on?
+---------------

I see the same error with FreeBSD-native 19a-pre3:

    Dumped on: Fri, 2004-07-02 11:56:53-07:00 on snapdragon.csl.sri.com

and Linux 19a:

    Dumped on: Wed, 2004-07-28 09:51:48-07:00 on lorien

Perhaps you have a newer "19a"?


-Rob

-----
Rob Warnock			<rpw3@rpw3.org>
627 26th Avenue			<URL:http://rpw3.org/>
San Mateo, CA 94403		(650)572-2607