diff options
Diffstat (limited to 'algebraic-structs.monoid.make.fold.scm')
-rw-r--r-- | algebraic-structs.monoid.make.fold.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/algebraic-structs.monoid.make.fold.scm b/algebraic-structs.monoid.make.fold.scm index 995bae5..05a1754 100644 --- a/algebraic-structs.monoid.make.fold.scm +++ b/algebraic-structs.monoid.make.fold.scm @@ -1,4 +1,4 @@ -(functor ((algebraic-structs monoid make fold) (M (op id)) (F (foldl foldr))) (fold) +(functor ((algebraic-structs monoid make fold) (M (op unit)) (F (foldl foldr))) (fold) (import scheme M F) - (define (fold x) (foldl op id x))) + (define (fold x) (foldl op unit x))) |