@ list splicing bug?

From: Adam Warner (usenet_at_consulting.net.nz)
Date: 11/26/03

  • Next message: Fergus Henderson: "Re: Why I believe in static analysis"
    Date: Wed, 26 Nov 2003 15:24:45 +1300
    
    

    Hi all,

    Should the evaluation of:
    ``(,',@(loop for arg in '(a b c) collect `(cons ',arg ,arg)))

    Be:
    '((cons 'a a) (cons 'b b) (cons 'c c))

    CMUCL and SBCL return `((cons 'a a)).

    I've distilled this example from one of the macros I have written that has
    returned unexpected results. Before reporting this bug I just want to
    check that my example is portably defined ANSI Common Lisp code and the
    result CMUCL and SBCL returns is not conforming.

    Thanks,
    Adam


  • Next message: Fergus Henderson: "Re: Why I believe in static analysis"

    Relevant Pages

    • Re: CLISP vs. CMUCL vs. SBCL
      ... > CMUCL: Good, fast compiler. ... What are the best points of CLISP other than portability? ... Between CMUCL and SBCL, how would one choose between these? ... > support CMUCL also seem to support SBCL, ...
      (comp.lang.lisp)
    • CLISP vs. CMUCL vs. SBCL
      ... Linux: CLISP, CMUCL, and SBCL. ... What are the best points of CLISP other than portability? ...
      (comp.lang.lisp)
    • Re: CLISP vs. CMUCL vs. SBCL
      ... What are the best points of CLISP other than portability? ... > first reaction is that I'd like something speedy, ... It is also a /lot/ smaller than CMUCL or SBCL. ...
      (comp.lang.lisp)
    • Re: ArmedBear Common Lisp relicensed!
      ... A lot of CMUCL and SBCL code was reused in implementing ABCL, ... Many Java libraries are implemented in Java and speed is still acceptable. ... > degree that a native code compiling Lisp does, ...
      (comp.lang.lisp)
    • Re: CLISP vs. CMUCL vs. SBCL
      ... If you were after "The Best Lisp Implementation", well, that would ... If you haven't checked out the SERVE-EVENT facility on CMUCL and SBCL, ... and CLISP works nicely. ...
      (comp.lang.lisp)