summaryrefslogtreecommitdiff
path: root/module/rand.m
diff options
context:
space:
mode:
Diffstat (limited to 'module/rand.m')
-rw-r--r--module/rand.m7
1 files changed, 7 insertions, 0 deletions
diff --git a/module/rand.m b/module/rand.m
new file mode 100644
index 00000000..02f0d005
--- /dev/null
+++ b/module/rand.m
@@ -0,0 +1,7 @@
+Rand: module
+{
+ PATH: con "/dis/lib/rand.dis";
+ init: fn(seed: int);
+ rand: fn(modulus: int): int;
+ bigrand: fn(modulus: big): big;
+};