hi, I find that when compiling a file with the following contents using `ps-compile-to-file` yields a result wherein `/=` and `funcall` are not properly compiled.
If I remove the packaging codes, the compiling is correct.
Best wishes.
source file contents
(lisp (defpackage test-aa (:use :parenscript))) (in-package :test-aa)
(defun f0 (fn x) (when (/= x 0) (funcall fn x)))
<<<<
compiling result
"function f0(fn, x) { return slashequals(x, 0) ? funcall(fn, x) : null; }; <<<<
hi, I got the cause. It is due to the lack of `:use` :cl package.
So I have to always to (:use :cl :parenscript)
On Tue, Mar 20, 2012 at 1:33 PM, Canhua dreameration@gmail.com wrote:
hi, I find that when compiling a file with the following contents using `ps-compile-to-file` yields a result wherein `/=` and `funcall` are not properly compiled.
If I remove the packaging codes, the compiling is correct.
Best wishes.
source file contents
(lisp (defpackage test-aa (:use :parenscript))) (in-package :test-aa)
(defun f0 (fn x) (when (/= x 0) (funcall fn x)))
<<<<
compiling result
"function f0(fn, x) { return slashequals(x, 0) ? funcall(fn, x) : null; }; <<<<
parenscript-devel@common-lisp.net