From 206b539f8f386d59a3bed4e07e07a61a8ab038ee Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Sun, 23 Feb 1997 06:16:12 +0000 Subject: [PATCH] Add several new operations on vectors. Eliminate unnecessary bindings. --- v7/src/runtime/vector.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v7/src/runtime/vector.scm b/v7/src/runtime/vector.scm index 17fe13697..7836a30e2 100644 --- a/v7/src/runtime/vector.scm +++ b/v7/src/runtime/vector.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: vector.scm,v 14.9 1997/02/23 06:11:12 cph Exp $ +$Id: vector.scm,v 14.10 1997/02/23 06:16:12 cph Exp $ Copyright (c) 1988-97 Massachusetts Institute of Technology @@ -224,7 +224,7 @@ MIT in each case. |# (guarantee-subvector vector start end 'SUBVECTOR-FILLED?) (let loop ((index start)) (or (fix:= index end) - (and (eqv? (vector-ref v index) element) + (and (eqv? (vector-ref vector index) element) (loop (fix:+ index 1)))))) (define (vector-filled? vector element) -- 2.25.1