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.group.make.scm | |
parent | 653b204b583da363a97464960a00f1bd0dbed865 (diff) |
Rename modules from (<feature name> ... make) to (<feature name>)
Diffstat (limited to 'algebraic-structures.group.make.scm')
-rw-r--r-- | algebraic-structures.group.make.scm | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/algebraic-structures.group.make.scm b/algebraic-structures.group.make.scm deleted file mode 100644 index 7568ac9..0000000 --- a/algebraic-structures.group.make.scm +++ /dev/null @@ -1,16 +0,0 @@ -(functor ((algebraic-structures group make) (M (<> unit inv))) - (<> unit inv pow) - (import M - scheme - (chicken base)) - - (define (pow x n) - (assert (exact-integer? n)) - (if (negative? n) - (pow (inv x) (- n)) - (let loop ((i n) - (acc unit)) - (if (= i 0) - acc - (loop (sub1 i) - (<> acc x))))))) |