aboutsummaryrefslogtreecommitdiff
path: root/algebraic-structures.private.list.monad.scm
blob: 73eaf5c11573ce802b2c4007b4de256b5926c987 (about) (plain)
1
2
3
4
5
6
7
8
9
(module (algebraic-structures private list monad) (>>=)
  (import (except scheme map apply)
          (chicken module)
          (only (srfi 1) append-map)
          (only (algebraic-structures list applicative)))
  (reexport (algebraic-structures list applicative))

  (define (>>= xs f)
    (append-map f xs)))