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

Frode Vatvedt Fjeld ffjeld at common-lisp.net
Thu Jul 8 15:23:53 UTC 2004


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

Modified Files:
	print.lisp 
Log Message:
Add printing of bit-vectors.

Date: Thu Jul  8 08:23:53 2004
Author: ffjeld

Index: movitz/losp/muerte/print.lisp
diff -u movitz/losp/muerte/print.lisp:1.10 movitz/losp/muerte/print.lisp:1.11
--- movitz/losp/muerte/print.lisp:1.10	Wed Jun  2 16:50:34 2004
+++ movitz/losp/muerte/print.lisp	Thu Jul  8 08:23:53 2004
@@ -10,7 +10,7 @@
 ;;;; Author:        Frode Vatvedt Fjeld <frodef at acm.org>
 ;;;; Created at:    Mon Sep  3 11:48:19 2001
 ;;;;                
-;;;; $Id: print.lisp,v 1.10 2004/06/02 23:50:34 ffjeld Exp $
+;;;; $Id: print.lisp,v 1.11 2004/07/08 15:23:53 ffjeld Exp $
 ;;;;                
 ;;;;------------------------------------------------------------------
 
@@ -263,6 +263,10 @@
 		   (write-string "#:" stream))
 		 (write-symbol-name object stream))
 		(t (error "Huh?")))))
+	    (bit-vector
+	     (write-string "#*")
+	     (dotimes (i (length object))
+	       (write (aref object i) :radix nil)))
 	    (vector
 	     (let ((level *print-level*)
 		   (length *print-length*))





More information about the Movitz-cvs mailing list