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

  (define (pure x) (stream x))

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