From 7e9013fc2ae5d82dfc0b152089c94d6c78e245b3 Mon Sep 17 00:00:00 2001 From: Masaya Tojo Date: Wed, 12 Jun 2024 00:54:11 +0900 Subject: Rename operator procedure from `op` to `<>` --- algebraic-structures.monoid.make.fold.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'algebraic-structures.monoid.make.fold.scm') diff --git a/algebraic-structures.monoid.make.fold.scm b/algebraic-structures.monoid.make.fold.scm index 4a6cce6..0334ab6 100644 --- a/algebraic-structures.monoid.make.fold.scm +++ b/algebraic-structures.monoid.make.fold.scm @@ -1,4 +1,4 @@ -(functor ((algebraic-structures monoid make fold) (M (op unit)) (F (foldl foldr))) (fold) +(functor ((algebraic-structures monoid make fold) (M (<> unit)) (F (foldl foldr))) (fold) (import scheme M F) - (define (fold x) (foldl op unit x))) + (define (fold x) (foldl <> unit x))) -- cgit v1.2.3