X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompat.lisp;h=3af42d0b9ce184085517e7d768cb1dfcba7dc257;hb=d0e2cc2ea3ae036fba1d085b9c88a5ffe24de956;hp=a11aa5dabfda43b31e56c976920e1e19b205f49b;hpb=89ee56f4f8d539db9462f50cbfd2e1b99ceb06d6;p=jscl.git diff --git a/src/compat.lisp b/src/compat.lisp index a11aa5d..3af42d0 100644 --- a/src/compat.lisp +++ b/src/compat.lisp @@ -34,16 +34,14 @@ ((not ,condition)) ,@body)) -(defmacro eval-when-compile (&body body) - `(eval-when (:compile-toplevel :load-toplevel :execute) - ,@body)) - -(defun concat-two (s1 s2) - (concatenate 'string s1 s2)) - (defun aset (array idx value) (setf (aref array idx) value)) -(eval-when-compile +(eval-when (:compile-toplevel :load-toplevel :execute) (defun concat (&rest strs) (apply #'concatenate 'string strs))) + +(defun /debug (x) + (declare (ignorable x)) + ;; (write-line x) + )