Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: =?ISO-8859-1?Q?Gustavo_Henrique_Milar=E9?= <gugamilare <at> gmail.com>
Subject: PARSE-BODY printing its argument
Newsgroups: gmane.lisp.alexandria.devel
Date: Thursday 1st March 2012 21:15:13 UTC (over 4 years ago)
Hi,

For some reason, whenever I use the function PARSE-BODY, the argument BODY
that is passed to it is printed (tested in SBCL and Clisp).

Clisp:

[4]> (alexandria.0.dev:parse-body '((declare (optimize speed)) (+ x y)))

(DECLARE (OPTIMIZE SPEED))
(+ X Y)
((+ X Y)) ;
((DECLARE (OPTIMIZE SPEED))) ;
NIL


SBCL:

* (parse-body '((declare (optimize speed)) (+ x y)))

(DECLARE (OPTIMIZE SPEED))
(+ X Y)
((+ X Y))
((DECLARE (OPTIMIZE SPEED)))
NIL


I'm using Alexandria of Quicklisp.
 
CD: 13ms