#| -*-Scheme-*-
-$Id: ea2.scm,v 1.3 1995/05/14 01:17:55 adams Exp $
+$Id: ea2.scm,v 1.4 1995/08/10 13:42:50 adams Exp $
Copyright (c) 1995 Massachusetts Institute of Technology
(define (define-rewrite/early operator-name-or-object handler)
(hash-table/put! *early-rewritten-operators*
- (if (hash-table/get *operator-properties*
- operator-name-or-object
- false)
+ (if (know-operator? operator-name-or-object)
operator-name-or-object
(make-primitive-procedure operator-name-or-object))
handler))
#| -*-Scheme-*-
-$Id: earlyrew.scm,v 1.9 1995/05/16 02:43:14 adams Exp $
+$Id: earlyrew.scm,v 1.10 1995/08/10 13:41:57 adams Exp $
Copyright (c) 1994-1995 Massachusetts Institute of Technology
(define (define-rewrite/early operator-name-or-object handler)
(hash-table/put! *early-rewritten-operators*
- (if (hash-table/get *operator-properties*
- operator-name-or-object
- false)
+ (if (known-operator? operator-name-or-object)
operator-name-or-object
(make-primitive-procedure operator-name-or-object))
handler))
#| -*-Scheme-*-
-$Id: laterew.scm,v 1.8 1995/07/06 21:48:58 adams Exp $
+$Id: laterew.scm,v 1.9 1995/08/10 13:41:21 adams Exp $
Copyright (c) 1994 Massachusetts Institute of Technology
(define (define-rewrite/late operator-name-or-object handler)
(hash-table/put! *late-rewritten-operators*
- (if (hash-table/get *operator-properties*
- operator-name-or-object
- false)
+ (if (known-operator? operator-name-or-object)
operator-name-or-object
(make-primitive-procedure operator-name-or-object))
handler))
#| -*-Scheme-*-
-$Id: rtlgen.scm,v 1.34 1995/08/07 16:12:35 adams Exp $
+$Id: rtlgen.scm,v 1.35 1995/08/10 13:40:43 adams Exp $
Copyright (c) 1994-1995 Massachusetts Institute of Technology
\f
(define (define-open-coder name-or-object nargs
vhandler shandler phandler ohandler sphandler)
- (let ((rator (if (hash-table/get *operator-properties* name-or-object false)
+ (let ((rator (if (known-operator? name-or-object)
name-or-object
(make-primitive-procedure name-or-object nargs))))
(hash-table/put!