aboutsummaryrefslogtreecommitdiff
path: root/algebraic-structures.monoid.fold.scm
diff options
context:
space:
mode:
authorMasaya Tojo <masaya@tojo.tokyo>2024-06-15 03:44:57 +0900
committerMasaya Tojo <masaya@tojo.tokyo>2024-06-15 03:44:57 +0900
commit9080b0a664ab36bf271fe042e3dc446727b18eff (patch)
treeb907c261cec4de6c2c6fe16f5af073d01efc846a /algebraic-structures.monoid.fold.scm
parent959ead049e6f22438902399eb0925e8f60e0f3e0 (diff)
Add fold-map function
Diffstat (limited to 'algebraic-structures.monoid.fold.scm')
-rw-r--r--algebraic-structures.monoid.fold.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/algebraic-structures.monoid.fold.scm b/algebraic-structures.monoid.fold.scm
index 5e176f2..bb74e4a 100644
--- a/algebraic-structures.monoid.fold.scm
+++ b/algebraic-structures.monoid.fold.scm
@@ -1,4 +1,4 @@
-(functor ((algebraic-structures monoid fold) (M (<> unit)) (F (fold))) (fold)
+(functor ((algebraic-structures monoid fold) (M (<> unit)) (F (fold))) (fold fold-map)
(import scheme M (rename F (fold foldable:fold)))
(define (fold x) (foldable:fold <> unit x))