[cmucl-imp] Fwd: Backquote bug
Subtle bug in CMUCL. What should this form read as? `#5(1 ,@`(2 3)) ECL, LispWorks and fare-quasiquote agree on #(1 2 3 2 3) allegro, ccl, clisp, sbcl return the arguably conformant #(1 2 3 2 3 2 3 2 3) abcl, cmucl, gcl, xcl all return the arguably completely buggy #(1 2 3) —♯ƒ • François-René ÐVB Rideau •Reflection&Cybernethics• http://fare.tunes.org It may be bad manners to talk with your mouth full, but it isn't too good either if you speak when your head is empty.
Subtle bug in CMUCL.
What should this form read as? `#5(1 ,@`(2 3))
ECL, LispWorks and fare-quasiquote agree on #(1 2 3 2 3) Sorry, as PJB points out on the armedbear-devel list, the correct answer,
On Thu, Feb 20, 2014 at 1:33 AM, Faré <fahree@gmail.com> wrote: that I failed to copy/paste correctly, is #(1 2 3 3 3) indeed.
allegro, ccl, clisp, sbcl return the arguably conformant #(1 2 3 2 3 2 3 2 3) abcl, cmucl, gcl, xcl all return the arguably completely buggy #(1 2 3)
PJB also argues that the CLHS can be argued to not have specified `#n(...) in which case, using it is non-conformant and returning #(1 2 3), erroring out, or launching a nuclear attack are all valid implementations. —♯ƒ • François-René ÐVB Rideau •Reflection&Cybernethics• http://fare.tunes.org The Philosophy of Liberty, or Libertarianism, is a theory of Law; it is an ethics of Liberty and Responsibility; it is a cybernetics of Human Action; it is the only authentically subversive ideology.
participants (1)
-
Faré