From 3b2b7dcdedcd732b92403b784d8c3797d80a6599 Mon Sep 17 00:00:00 2001 From: Charles Forsyth Date: Sun, 23 Dec 2018 13:11:17 +0000 Subject: use IPints not Keyring --- appl/math/mersenne.b | 8 ++++---- appl/math/parts.b | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'appl/math') 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; -- cgit v1.2.3