diff options
author | Thomas Bushnell, BSG <tb@debian.org> | 2008-02-04 20:29:13 -0500 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:41 -0800 |
commit | 71dab84adaa579f9386dd8ee09006d3cac625723 (patch) | |
tree | 8022514642d25edffdb4bdd130020674b0efd844 /umbscheme.init | |
parent | 897451458bd8eec628c7bbfaccba0dd069830f0f (diff) | |
parent | 4684239efa63dc1b2c1cbe37ef7d3062029f5532 (diff) | |
download | slib-debian/3b1-1.tar.gz slib-debian/3b1-1.zip |
Import Debian changes 3b1-1debian/3b1-1
slib (3b1-1) unstable; urgency=low
* New upstream release.
* guile.init (library-vicinity): Repeat change from 3a4-2.
* slib.texi (Library Catalogs): Repeat change from 3a3-3.
* slib.sh: Repeat change from 3a5-3.
* slib.1: Repeat change from 3a5-4.
* Makefile: Repeat change from 3a2-1.
Diffstat (limited to 'umbscheme.init')
-rw-r--r-- | umbscheme.init | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/umbscheme.init b/umbscheme.init index 37cd4f2..b2f6891 100644 --- a/umbscheme.init +++ b/umbscheme.init @@ -28,11 +28,13 @@ ;;; (implementation-vicinity) should be defined to be the pathname of ;;; the directory where any auxillary files to your Scheme ;;; implementation reside. -(define (implementation-vicinity) - (case (software-type) - ((unix) "/usr/lib/umb-scheme/") - ((vms) "scheme$src:") - ((ms-dos) "C:\\scheme\\"))) +(define implementation-vicinity + (let ((impl-path + (case (software-type) + ((unix) "/usr/lib/umb-scheme/") + ((vms) "scheme$src:") + ((ms-dos) "C:\\scheme\\")))) + (lambda () impl-path))) ;;; (library-vicinity) should be defined to be the pathname of the ;;; directory where files of Scheme library functions reside. @@ -91,8 +93,7 @@ ;@ (define sub-vicinity (case (software-type) - ((vms) (lambda - (vic name) + ((vms) (lambda (vic name) (let ((l (string-length vic))) (if (or (zero? (string-length vic)) (not (char=? #\] (string-ref vic (- l 1))))) @@ -132,6 +133,7 @@ ;(SLIB:LOAD-COMPILED "filename") vicinity srfi-59 + srfi-96 ;; Scheme report features ;; R5RS-compliant implementations should provide all 9 features. @@ -175,7 +177,7 @@ ;; Other common features -;;; srfi ;srfi-0, COND-EXPAND finds all srfi-* +;;; srfi-0 ;srfi-0, COND-EXPAND finds all srfi-* ;;; sicp ;runs code from Structure and ;Interpretation of Computer ;Programs by Abelson and Sussman. @@ -306,11 +308,7 @@ (string-append "slib:G" (number->string *gensym-counter*)))))) (define defmacro:eval slib:eval) -(define defmacro:load load) - -(define (defmacro:load <pathname>) - (slib:eval-load <pathname> defmacro:eval)) -;; slib:eval-load definition moved to "require.scm" +(define defmacro:load slib:load-source) (define slib:warn (lambda args |