From ca1584a5c87c2952af08c74ce80b1cb2a75a1d19 Mon Sep 17 00:00:00 2001 From: Masaya Tojo Date: Thu, 13 Jun 2024 02:11:07 +0900 Subject: Rename modules from ( ... make) to () --- algebraic-structures.monoid.fold.scm | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 algebraic-structures.monoid.fold.scm (limited to 'algebraic-structures.monoid.fold.scm') diff --git a/algebraic-structures.monoid.fold.scm b/algebraic-structures.monoid.fold.scm new file mode 100644 index 0000000..b18c03c --- /dev/null +++ b/algebraic-structures.monoid.fold.scm @@ -0,0 +1,4 @@ +(functor ((algebraic-structures monoid fold) (M (<> unit)) (F (foldl foldr))) (fold) + (import scheme M F) + + (define (fold x) (foldl <> unit x))) -- cgit v1.2.3