`unparser/tagged-vector-method' to disallow futures as tags.
#| -*-Scheme-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/boot.scm,v 14.3 1989/08/09 11:08:31 cph Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/boot.scm,v 14.4 1990/09/19 00:32:41 cph Rel $
-Copyright (c) 1988 Massachusetts Institute of Technology
+Copyright (c) 1988, 1990 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
(define-primitives
(object-pure? pure?)
(object-constant? constant?)
- get-next-constant)
\ No newline at end of file
+ get-next-constant)
+
+(define-integrable (future? object)
+ ((ucode-primitive object-type? 2) (ucode-type future) object))
\ No newline at end of file
#| -*-Scheme-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/gdatab.scm,v 14.4 1989/06/09 16:51:21 cph Rel $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/gdatab.scm,v 14.5 1990/09/19 00:32:28 cph Rel $
-Copyright (c) 1988, 1989 Massachusetts Institute of Technology
+Copyright (c) 1988, 1989, 1990 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
(define named-structure-descriptions)
(define (unparser/tagged-pair-method tag)
- (1d-table/get tagged-pair-methods tag false))
+ (and (not (future? tag))
+ (1d-table/get tagged-pair-methods tag false)))
(define (unparser/set-tagged-pair-method! tag method)
(1d-table/put! tagged-pair-methods tag method))
(define (unparser/tagged-vector-method tag)
- (1d-table/get tagged-vector-methods tag false))
+ (and (not (future? tag))
+ (1d-table/get tagged-vector-methods tag false)))
(define (unparser/set-tagged-vector-method! tag method)
(1d-table/put! tagged-vector-methods tag method))
#| -*-Scheme-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/global.scm,v 14.17 1990/09/11 21:58:52 cph Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/global.scm,v 14.18 1990/09/19 00:32:55 cph Exp $
Copyright (c) 1988, 1989, 1990 Massachusetts Institute of Technology
(if (< (real-time-clock) end)
(wait-loop)))))
-(define-integrable (future? object)
- ((ucode-primitive object-type? 2) (ucode-type future) object))
-
(define (exit)
(if (prompt-for-confirmation "Kill Scheme")
(%exit)))
#| -*-Scheme-*-
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v8/src/runtime/global.scm,v 14.17 1990/09/11 21:58:52 cph Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v8/src/runtime/global.scm,v 14.18 1990/09/19 00:32:55 cph Exp $
Copyright (c) 1988, 1989, 1990 Massachusetts Institute of Technology
(if (< (real-time-clock) end)
(wait-loop)))))
-(define-integrable (future? object)
- ((ucode-primitive object-type? 2) (ucode-type future) object))
-
(define (exit)
(if (prompt-for-confirmation "Kill Scheme")
(%exit)))