aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/strap/RNG.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/strap/RNG.lsp')
-rw-r--r--src/algebra/strap/RNG.lsp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/algebra/strap/RNG.lsp b/src/algebra/strap/RNG.lsp
new file mode 100644
index 00000000..5ba05b81
--- /dev/null
+++ b/src/algebra/strap/RNG.lsp
@@ -0,0 +1,15 @@
+
+(/VERSIONCHECK 2)
+
+(DEFPARAMETER |Rng;AL| 'NIL)
+
+(DEFUN |Rng| ()
+ (LET (#:G1387) (COND (|Rng;AL|) (T (SETQ |Rng;AL| (|Rng;|))))))
+
+(DEFUN |Rng;| ()
+ (PROG (#0=#:G1385)
+ (RETURN
+ (PROG1 (LETT #0# (|Join| (|AbelianGroup|) (|SemiGroup|)) |Rng|)
+ (SETELT #0# 0 '(|Rng|))))))
+
+(MAKEPROP '|Rng| 'NILADIC T)