X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompat.lisp;h=d682604f7a2fc9040561389c46d13ebe57cf81eb;hb=18c8e6a2d7bdc53f5a95c1a29b8913ee66a415d6;hp=184c5ddd2b365fd3ab582657e0c67b8e1a615bce;hpb=261c79ce0f1b20b7f917a4139239facbd3e89eed;p=jscl.git diff --git a/src/compat.lisp b/src/compat.lisp index 184c5dd..d682604 100644 --- a/src/compat.lisp +++ b/src/compat.lisp @@ -3,18 +3,18 @@ ;; Copyright (C) 2012, 2013 David Vazquez ;; Copyright (C) 2012 Raimon Grau -;; This program is free software: you can redistribute it and/or +;; JSCL is free software: you can redistribute it and/or ;; modify it under the terms of the GNU General Public License as ;; published by the Free Software Foundation, either version 3 of the ;; License, or (at your option) any later version. ;; -;; This program is distributed in the hope that it will be useful, but +;; JSCL is distributed in the hope that it will be useful, but ;; WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ;; General Public License for more details. ;; ;; You should have received a copy of the GNU General Public License -;; along with this program. If not, see . +;; along with JSCL. If not, see . ;;; Duplicate from boot.lisp by now (defmacro with-collect (&body body) @@ -38,12 +38,12 @@ `(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 (defun concat (&rest strs) (apply #'concatenate 'string strs))) + +(defun /debug (x) + (write-line x))