1 Mar 2012 22:15
PARSE-BODY printing its argument
Gustavo Henrique Milaré <gugamilare <at> gmail.com>
2012-03-01 21:15:13 GMT
2012-03-01 21:15:13 GMT
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.
_______________________________________________ alexandria-devel mailing list alexandria-devel <at> common-lisp.net http://lists.common-lisp.net/cgi-bin/mailman/listinfo/alexandria-devel
RSS Feed