diff options
Diffstat (limited to 'algebraic-structs.functor.vector.base.scm')
-rw-r--r-- | algebraic-structs.functor.vector.base.scm | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/algebraic-structs.functor.vector.base.scm b/algebraic-structs.functor.vector.base.scm deleted file mode 100644 index 2f44673..0000000 --- a/algebraic-structs.functor.vector.base.scm +++ /dev/null @@ -1,10 +0,0 @@ -(module (algebraic-structs functor vector base) (map) - (import (rename scheme (map list-map)) - (only (chicken base) add1)) - - (define (map f v) - (let* ((len (vector-length v)) - (new (make-vector len))) - (do ((i 0 (add1 i))) - ((= i len) new) - (vector-set! new i (vector-ref v i)))))) |