aboutsummaryrefslogtreecommitdiff
path: root/algebraic-structures.private.vector.zip.applicative.scm
blob: 5e644e06f25919978cc33e57af8bed36f72bceaa (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
(module (algebraic-structures private vector zip applicative) ()
  (import scheme
          (chicken module)
          (only (srfi 133) vector-map))
  (export pure map2)
  (reexport (algebraic-structures vector functor))

  (define (pure x) (vector x))

  (define (map2 f xs ys)
    (vector-map f xs ys)))