aboutsummaryrefslogtreecommitdiff
path: root/src/interp/sys-utility.boot
diff options
context:
space:
mode:
Diffstat (limited to 'src/interp/sys-utility.boot')
-rw-r--r--src/interp/sys-utility.boot9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/interp/sys-utility.boot b/src/interp/sys-utility.boot
index f422d993..6bbb59a9 100644
--- a/src/interp/sys-utility.boot
+++ b/src/interp/sys-utility.boot
@@ -13,7 +13,7 @@
-- the documentation and/or other materials provided with the
-- distribution.
--
--- - Neither the name of The Numerical ALgorithms Group Ltd. nor the
+-- - Neither the name of The Numerical Algorithms Group Ltd. nor the
-- names of its contributors may be used to endorse or promote products
-- derived from this software without specific prior written permission.
--
@@ -161,6 +161,13 @@ checkMkdir path ==
getSystemModulePath m ==
CONCAT(systemRootDirectory(),'"algebra/",m,'".",$faslType)
+++ load module in `path' that supposedly will define the function
+++ indicated by `name'.
+loadModule: (%String,%Symbol) -> %Thing
+loadModule(path,name) ==
+ FMAKUNBOUND name
+ LOAD path
+
--% numericis
log10 x ==
LOG(x,10)