summaryrefslogtreecommitdiff
path: root/appl/math
diff options
context:
space:
mode:
Diffstat (limited to 'appl/math')
-rw-r--r--appl/math/mersenne.b8
-rw-r--r--appl/math/parts.b8
2 files changed, 8 insertions, 8 deletions
diff --git a/appl/math/mersenne.b b/appl/math/mersenne.b
index c90254b0..7efc4a97 100644
--- a/appl/math/mersenne.b
+++ b/appl/math/mersenne.b
@@ -3,9 +3,9 @@ implement Mersenne;
include "sys.m";
sys : Sys;
include "draw.m";
-include "keyring.m";
- keyring: Keyring;
- IPint: import keyring;
+include "ipints.m";
+ ipints: IPints;
+ IPint: import ipints;
# Test primality of Mersenne numbers
@@ -17,7 +17,7 @@ Mersenne: module
init(nil: ref Draw->Context, argv: list of string)
{
sys = load Sys Sys->PATH;
- keyring = load Keyring Keyring->PATH;
+ ipints = load IPints IPints->PATH;
p := 3;
if(tl argv != nil)
p = int hd tl argv;
diff --git a/appl/math/parts.b b/appl/math/parts.b
index 36c36d8e..be5cd1bb 100644
--- a/appl/math/parts.b
+++ b/appl/math/parts.b
@@ -3,9 +3,9 @@ implement Partitions;
include "sys.m";
sys : Sys;
include "draw.m";
-include "keyring.m";
- keyring: Keyring;
- IPint: import keyring;
+include "ipints.m";
+ ipints: IPints;
+ IPint: import ipints;
#
# the number p(n) of partitions of n
@@ -25,7 +25,7 @@ Partitions: module
init(nil: ref Draw->Context, argv: list of string)
{
sys = load Sys Sys->PATH;
- keyring = load Keyring Keyring->PATH;
+ ipints = load IPints IPints->PATH;
argv = tl argv;
while(argv != nil){
s := hd argv;