move {vector,string}-{map,for-each}

This commit is contained in:
Yuichi Nishiwaki
2014-09-19 18:21:28 +09:00
parent d8cbcde157
commit 9b226afd1f
3 changed files with 8 additions and 16 deletions
-12
View File
@@ -435,18 +435,6 @@
;; 6.10. Control features
(define (string-map f . strings)
(list->string (apply map f (map string->list strings))))
(define (string-for-each f . strings)
(apply for-each f (map string->list strings)))
(define (vector-map f . vectors)
(list->vector (apply map f (map vector->list vectors))))
(define (vector-for-each f . vectors)
(apply for-each f (map vector->list vectors)))
(export procedure?
apply
map