From: Chris Hanson Date: Sun, 23 Feb 1997 06:16:12 +0000 (+0000) Subject: Add several new operations on vectors. Eliminate unnecessary X-Git-Tag: 20090517-FFI~5250 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=206b539f8f386d59a3bed4e07e07a61a8ab038ee;p=mit-scheme.git Add several new operations on vectors. Eliminate unnecessary bindings. --- 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)