From c98d8212928d109760c27446eb954c2202596f27 Mon Sep 17 00:00:00 2001 From: Masaya Tojo Date: Sun, 16 Jun 2024 19:25:18 +0900 Subject: Import only necessary identifiers --- algebraic-structures.monoid.fold.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'algebraic-structures.monoid.fold.scm') 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)) -- cgit v1.2.3