diff options
Diffstat (limited to 'algebraic-structures.monoid.make.fold.scm')
-rw-r--r-- | algebraic-structures.monoid.make.fold.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/algebraic-structures.monoid.make.fold.scm b/algebraic-structures.monoid.make.fold.scm index 4a6cce6..0334ab6 100644 --- a/algebraic-structures.monoid.make.fold.scm +++ b/algebraic-structures.monoid.make.fold.scm @@ -1,4 +1,4 @@ -(functor ((algebraic-structures monoid make fold) (M (op unit)) (F (foldl foldr))) (fold) +(functor ((algebraic-structures monoid make fold) (M (<> unit)) (F (foldl foldr))) (fold) (import scheme M F) - (define (fold x) (foldl op unit x))) + (define (fold x) (foldl <> unit x))) |