[movitz-cvs] CVS update: movitz/losp/muerte/integers.lisp

Frode Vatvedt Fjeld ffjeld at common-lisp.net
Wed Jul 21 14:18:03 UTC 2004


Update of /project/movitz/cvsroot/movitz/losp/muerte
In directory common-lisp.net:/tmp/cvs-serv23105

Modified Files:
	integers.lisp 
Log Message:
Improved deftypes so they work on both movitz and host-sides.

Date: Wed Jul 21 07:18:03 2004
Author: ffjeld

Index: movitz/losp/muerte/integers.lisp
diff -u movitz/losp/muerte/integers.lisp:1.80 movitz/losp/muerte/integers.lisp:1.81
--- movitz/losp/muerte/integers.lisp:1.80	Tue Jul 20 02:19:00 2004
+++ movitz/losp/muerte/integers.lisp	Wed Jul 21 07:18:03 2004
@@ -9,7 +9,7 @@
 ;;;; Created at:    Wed Nov  8 18:44:57 2000
 ;;;; Distribution:  See the accompanying file COPYING.
 ;;;;                
-;;;; $Id: integers.lisp,v 1.80 2004/07/20 09:19:00 ffjeld Exp $
+;;;; $Id: integers.lisp,v 1.81 2004/07/21 14:18:03 ffjeld Exp $
 ;;;;                
 ;;;;------------------------------------------------------------------
 
@@ -344,13 +344,13 @@
 ;;;;
 
 (deftype positive-fixnum ()
-  `(integer 0 ,movitz:+movitz-most-positive-fixnum+))
+  '(integer 0 #.movitz:+movitz-most-positive-fixnum+))
 
 (deftype positive-bignum ()
-  `(integer ,(1+ movitz:+movitz-most-positive-fixnum+) *))
+  `(integer #.(cl:1+ movitz:+movitz-most-positive-fixnum+) *))
 
 (deftype negative-fixnum ()
-  `(integer ,movitz:+movitz-most-negative-fixnum+ -1))
+  `(integer #.movitz:+movitz-most-negative-fixnum+ -1))
 
 (defun fixnump (x)
   (typep x 'fixnum))





More information about the Movitz-cvs mailing list