diff options
author | Masaya Tojo <masaya@tojo.tokyo> | 2024-06-13 02:11:07 +0900 |
---|---|---|
committer | Masaya Tojo <masaya@tojo.tokyo> | 2024-06-13 02:11:07 +0900 |
commit | ca1584a5c87c2952af08c74ce80b1cb2a75a1d19 (patch) | |
tree | 6a6f5ebde7bb00f8bd74501ecac563c5a1dc51f6 /algebraic-structures.alternative.scm | |
parent | 653b204b583da363a97464960a00f1bd0dbed865 (diff) |
Rename modules from (<feature name> ... make) to (<feature name>)
Diffstat (limited to 'algebraic-structures.alternative.scm')
-rw-r--r-- | algebraic-structures.alternative.scm | 10 |
1 files changed, 10 insertions, 0 deletions
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))) |