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.alternative.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 algebraic-structures.alternative.scm (limited to 'algebraic-structures.alternative.scm') diff --git a/algebraic-structures.alternative.scm b/algebraic-structures.alternative.scm new file mode 100644 index 0000000..c397304 --- /dev/null +++ b/algebraic-structures.alternative.scm @@ -0,0 +1,10 @@ +(functor ((algebraic-structures alternative) (A (pure map map2 alt empty))) + (pure map map2 alt empty guard) + (import (except scheme map apply) + (only (chicken base) void) + A) + + (define (guard b) + (if b + (pure (void)) + empty))) -- cgit v1.2.3