aboutsummaryrefslogtreecommitdiff
path: root/algebraic-structures.private.stream.alternative.scm
blob: 0d90baab7b1fa3971be7cadef9a7284e8d648ada (about) (plain)
1
2
3
4
5
6
7
8
9
10
(module (algebraic-structures private stream alternative) (alt empty)
  (import (except scheme map apply)
          (srfi 41)
          (chicken module))
  (reexport (algebraic-structures stream applicative))

  (define empty stream-null)

  (define (alt xs ys)
    (stream-append xs ys)))