aboutsummaryrefslogtreecommitdiff
path: root/algebraic-structures.semigroup.reduce.scm
blob: c5e2996835173332071c5ae3344b24a9d58b3689 (about) (plain)
1
2
3
4
5
6
(functor ((algebraic-structures semigroup reduce) (S (op)) (R (reduce))) (reduce)
  (import scheme
          (only S op)
          (rename (only R reduce) (reduce reducible:reduce)))

  (define (reduce xs) (reducible:reduce op xs)))