#| -*-Scheme-*-
-$Id: reduct.scm,v 4.8 1993/09/01 00:10:25 cph Exp $
+$Id: reduct.scm,v 4.9 1995/01/06 19:16:36 cph Exp $
-Copyright (c) 1988-1993 Massachusetts Institute of Technology
+Copyright (c) 1988-95 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
'()
(cons
(let ((place (assq (car keys) options)))
- (if (not place)
- '()
- (cdr place)))
+ (and place
+ (cdr place)))
(collect (cdr keys)))))
(define (check opts)
#| -*-Scheme-*-
-$Id: table.scm,v 4.3 1993/11/20 07:11:46 cph Exp $
+$Id: table.scm,v 4.4 1995/01/06 19:18:39 cph Exp $
-Copyright (c) 1988-93 Massachusetts Institute of Technology
+COPYRIGHT (c) 1988-95 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
(define (get key if-found if-not-found)
(let ((entry (lookup key)))
- (if (null? entry)
+ (if (not entry)
(if-not-found)
(if-found (entry-value entry)))))
(define (put! key value)
(let ((entry (lookup key)))
- (if (null? entry)
+ (if (not entry)
(extend-table! (make-entry key value))
(set-entry-value! entry value))))