aboutsummaryrefslogtreecommitdiffstats
path: root/sisc.init
diff options
context:
space:
mode:
authorThomas Bushnell, BSG <tb@debian.org>2008-02-04 20:29:13 -0500
committerBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:41 -0800
commit71dab84adaa579f9386dd8ee09006d3cac625723 (patch)
tree8022514642d25edffdb4bdd130020674b0efd844 /sisc.init
parent897451458bd8eec628c7bbfaccba0dd069830f0f (diff)
parent4684239efa63dc1b2c1cbe37ef7d3062029f5532 (diff)
downloadslib-71dab84adaa579f9386dd8ee09006d3cac625723.tar.gz
slib-71dab84adaa579f9386dd8ee09006d3cac625723.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 'sisc.init')
-rw-r--r--sisc.init39
1 files changed, 24 insertions, 15 deletions
diff --git a/sisc.init b/sisc.init
index a042bb7..630136b 100644
--- a/sisc.init
+++ b/sisc.init
@@ -17,18 +17,22 @@
(define (program-vicinity)
(current-directory))
-(define (library-vicinity)
- (string-append
- (or (getenv "sisc.slib")
- (getenv "sisc.lib")
- (error "You must define the sisc.slib or sisc.lib property"))
- "/"))
-
-(define (implementation-vicinity)
- (string-append
- (or (getenv "sisc.home")
- (error "You must define the sisc.home property"))
- "/"))
+(define library-vicinity
+ (let ((lib-path
+ (string-append
+ (or (getenv "sisc.slib")
+ (getenv "sisc.lib")
+ (error "You must define the sisc.slib or sisc.lib property"))
+ "/")))
+ (lambda () lib-path)))
+
+(define implementation-vicinity
+ (let ((impl-path
+ (string-append
+ (or (getenv "sisc.home")
+ (error "You must define the sisc.home property"))
+ "/")))
+ (lambda () impl-path)))
(define (user-vicinity) "")
@@ -102,6 +106,7 @@
;(SLIB:LOAD-COMPILED "filename")
vicinity
srfi-59
+ srfi-96
;;; Scheme report features
;; R5RS-compliant implementations should provide all 9 features.
@@ -141,7 +146,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.
@@ -335,9 +340,13 @@
;;@ At this point SLIB:LOAD must be able to load SLIB files.
(define slib:load slib:load-source)
-;; If your implementation provides R4RS macros:
+;;; If your implementation provides R4RS macros:
(define macro:eval slib:eval)
-(define macro:load load)
+(define macro:load slib:load-source)
+
+;;; If your implementation provides syntax-case macros:
+;;(define syncase:eval slib:eval)
+;;(define syncase:load slib:load-source)
;@
(define gentemp gensym)