[movitz-cvs] CVS movitz/losp/muerte

ffjeld ffjeld at common-lisp.net
Mon Apr 21 19:43:57 UTC 2008


Update of /project/movitz/cvsroot/movitz/losp/muerte
In directory clnet:/tmp/cvs-serv26953

Modified Files:
	typep.lisp 
Log Message:
Misc. types.


--- /project/movitz/cvsroot/movitz/losp/muerte/typep.lisp	2008/04/09 18:02:47	1.58
+++ /project/movitz/cvsroot/movitz/losp/muerte/typep.lisp	2008/04/21 19:43:57	1.59
@@ -9,7 +9,7 @@
 ;;;; Created at:    Fri Dec  8 11:07:53 2000
 ;;;; Distribution:  See the accompanying file COPYING.
 ;;;;                
-;;;; $Id: typep.lisp,v 1.58 2008/04/09 18:02:47 ffjeld Exp $
+;;;; $Id: typep.lisp,v 1.59 2008/04/21 19:43:57 ffjeld Exp $
 ;;;;                
 ;;;;------------------------------------------------------------------
 
@@ -601,7 +601,9 @@
 			   (or (eq xdim '*) (eql xdim adim)))
 			 dimension-spec
 			 (array-dimensions x)))))))
-      
+
+(defun arrayp (x)
+  (typep x 'array))      
 
 (define-simple-typep (atom atom) (x)
   (typep x 'atom))
@@ -706,6 +708,18 @@
 (deftype float ()
   'real)
 
+(deftype short-float ()
+  'real)
+
+(deftype long-float ()
+  'real)
+
+(deftype single-float ()
+  'real)
+
+(deftype double-float ()
+  'real)
+
 (defun type-of (x)
   (class-name (class-of x)))
 




More information about the Movitz-cvs mailing list