#| -*-Scheme-*-
-$Id: clscon.scm,v 1.13 2003/03/13 20:20:07 cph Exp $
+$Id: clscon.scm,v 1.14 2003/03/14 20:46:23 cph Exp $
Copyright 1989,1990,1991,1993,2002,2003 Massachusetts Institute of Technology
(and superclass
(class-methods superclass))))))
(named-structure/set-tag-description! class
- (make-define-structure-type 'VECTOR
- name
- (map car transforms)
- (map cdr transforms)
- (make-list (length transforms)
- (lambda () #f))
- (standard-unparser-method name #f)
- class
- object-size))
+ (make-define-structure-type
+ 'VECTOR
+ name
+ (list->vector (map car transforms))
+ (list->vector (map cdr transforms))
+ (make-vector (length transforms) (lambda () #f))
+ (standard-unparser-method name #f)
+ class
+ object-size))
class))))
(if (not entry)
(let ((class (make-class)))
#| -*-Scheme-*-
-$Id: random.scm,v 14.28 2003/03/13 20:18:59 cph Exp $
+$Id: random.scm,v 14.29 2003/03/14 20:45:07 cph Exp $
Copyright 1988,1989,1993,1994,1995,1996 Massachusetts Institute of Technology
Copyright 1998,1999,2000,2001,2003 Massachusetts Institute of Technology
(named-structure/set-tag-description! random-state-tag
(make-define-structure-type 'VECTOR
'RANDOM-STATE
- '(INDEX BORROW VECTOR)
- '(1 2 3)
- (make-list 3 (lambda () #f))
+ '#(INDEX BORROW VECTOR)
+ '#(1 2 3)
+ (make-vector 3 (lambda () #f))
(standard-unparser-method 'RANDOM-STATE #f)
random-state-tag
4)))
\ No newline at end of file