Initial version of vector-append

This commit is contained in:
Justin Ethier 2015-06-02 22:59:49 -04:00
parent 2edaffc320
commit 3f5a0b6197

View file

@ -174,7 +174,8 @@
(list->vector (list->vector
(string->list str))) (string->list str)))
(define (vector-append . vecs) (define (vector-append . vecs)
vecs) ; TODO (list->vector
(apply append (map vector->list vecs))))
(define (vector-copy vec . opts) (define (vector-copy vec . opts)
(letrec ((len (vector-length vec)) (letrec ((len (vector-length vec))