aboutsummaryrefslogtreecommitdiff
path: root/algebraic-structures.monoid.fold.scm
diff options
context:
space:
mode:
Diffstat (limited to 'algebraic-structures.monoid.fold.scm')
-rw-r--r--algebraic-structures.monoid.fold.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/algebraic-structures.monoid.fold.scm b/algebraic-structures.monoid.fold.scm
index bb74e4a..73fc64c 100644
--- a/algebraic-structures.monoid.fold.scm
+++ b/algebraic-structures.monoid.fold.scm
@@ -1,5 +1,7 @@
(functor ((algebraic-structures monoid fold) (M (<> unit)) (F (fold))) (fold fold-map)
- (import scheme M (rename F (fold foldable:fold)))
+ (import (except scheme length)
+ (only M <> unit)
+ (rename (only F fold) (fold foldable:fold)))
(define (fold x) (foldable:fold <> unit x))