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

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