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

Update of /project/movitz/cvsroot/movitz/losp/muerte In directory common-lisp.net:/tmp/cvs-serv15063 Modified Files: typep.lisp Log Message: Move (deftype index) from sequences.lisp to typep.lisp. Date: Sun Aug 21 19:59:19 2005 Author: ffjeld Index: movitz/losp/muerte/typep.lisp diff -u movitz/losp/muerte/typep.lisp:1.49 movitz/losp/muerte/typep.lisp:1.50 --- movitz/losp/muerte/typep.lisp:1.49 Sat Aug 20 22:28:31 2005 +++ movitz/losp/muerte/typep.lisp Sun Aug 21 19:59:18 2005 @@ -9,7 +9,7 @@ ;;;; Created at: Fri Dec 8 11:07:53 2000 ;;;; Distribution: See the accompanying file COPYING. ;;;; -;;;; $Id: typep.lisp,v 1.49 2005/08/20 20:28:31 ffjeld Exp $ +;;;; $Id: typep.lisp,v 1.50 2005/08/21 17:59:18 ffjeld Exp $ ;;;; ;;;;------------------------------------------------------------------ @@ -691,6 +691,9 @@ (deftype bit () '(integer 0 1)) + +(deftype index (&optional (step 1)) + `(integer 0 ,(- #x1fffffff step))) (defun type-of (x) (class-name (class-of x)))
participants (1)
-
ffjeld@common-lisp.net