X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=base%2Fcmucl-compat.lisp;h=d285788121f222fdde3d206690e560deab3cfb9a;hb=fa32c4233b4a02ae631602dbb0a234ab10df8aaf;hp=8e7df718a3ce1b5a0c9538c56abb2976e67dcdef;hpb=8d558ce162d1360f92e4d65d054e2f61c786319e;p=clsql.git diff --git a/base/cmucl-compat.lisp b/base/cmucl-compat.lisp index 8e7df71..d285788 100644 --- a/base/cmucl-compat.lisp +++ b/base/cmucl-compat.lisp @@ -2,23 +2,23 @@ ;;;; ************************************************************************* ;;;; FILE IDENTIFICATION ;;;; -;;;; Name: cmucl-compat.sql +;;;; Name: cmucl-compat.lisp ;;;; Purpose: Compatiblity library for CMUCL functions ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Feb 2002 ;;;; -;;;; $Id: cmucl-compat.lisp,v 1.4 2003/05/02 03:05:54 kevin Exp $ +;;;; $Id$ ;;;; -;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg +;;;; This file, part of CLSQL, is Copyright (c) 2002-2004 by Kevin M. Rosenberg ;;;; ;;;; CLSQL users are granted the rights to distribute and use this software ;;;; as governed by the terms of the Lisp Lesser GNU Public License ;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL. ;;;; ************************************************************************* -(in-package :cl-user) +(in-package #:cl-user) -(defpackage :cmucl-compat +(defpackage #:cmucl-compat (:use #:common-lisp) (:export #:shrink-vector @@ -26,7 +26,7 @@ #:result-type-or-lose #:required-argument )) -(in-package :cmucl-compat) +(in-package #:cmucl-compat) #+(or cmu scl) (defmacro required-argument () @@ -56,7 +56,7 @@ Needs to be a macro to overwrite value of VEC." (let ((,new-vec (make-array ,len :element-type (array-element-type ,vec)))) (check-type ,len fixnum) - (locally (declare (speed 3) (safety 0) (space 0)) + (locally (declare (optimize (speed 3) (safety 0) (space 0)) ) (dotimes (i ,len) (declare (fixnum i)) (setf (aref ,new-vec i) (aref ,vec i)))) @@ -79,7 +79,7 @@ Needs to be a macro to overwrite value of VEC." (defun make-sequence-of-type (type len) (lisp::make-sequence-of-type type len)) (defun make-sequence-of-type (type len) - (system::make-sequence-of-type type len))) + (common-lisp::make-sequence-of-type type len))) #-(or cmu scl) (defun result-type-or-lose (type nil-ok)