aboutsummaryrefslogtreecommitdiff
path: root/algebraic-structures.monoid.fold.scm
diff options
context:
space:
mode:
authorMasaya Tojo <masaya@tojo.tokyo>2024-06-16 19:25:18 +0900
committerMasaya Tojo <masaya@tojo.tokyo>2024-06-16 19:25:18 +0900
commitc98d8212928d109760c27446eb954c2202596f27 (patch)
treec2547e228b138451dbafa144bd33c4a1502a162d /algebraic-structures.monoid.fold.scm
parent8a249bc142d021b42a1c71876c6adf3d1168f270 (diff)
Import only necessary identifiers
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))