diff options
| author | Charles Forsyth <charles.forsyth@gmail.com> | 2018-12-23 13:11:17 +0000 |
|---|---|---|
| committer | Charles Forsyth <charles.forsyth@gmail.com> | 2018-12-23 13:11:17 +0000 |
| commit | 3b2b7dcdedcd732b92403b784d8c3797d80a6599 (patch) | |
| tree | 7135955a3fc5673beb288ab34b563deaf91678a8 /appl | |
| parent | 1921aab2126e947a7bae2a70794abb8c5f74522e (diff) | |
use IPints not Keyring
Diffstat (limited to 'appl')
| -rw-r--r-- | appl/math/mersenne.b | 8 | ||||
| -rw-r--r-- | appl/math/parts.b | 8 |
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; |
