home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
213a.lha
/
Scheme
/
Tutorial
/
XSCHEME.INI
< prev
next >
Wrap
Text File
|
1996-02-14
|
469b
|
19 lines
; xscheme.ini - initialization code for XScheme
(load "macros.s")
(define (autoload-from-file file syms #!optional env)
(map (lambda (sym) (put sym '%autoload file)) syms)
'())
(define (*unbound-handler* sym cont)
(let ((file (get sym '%autoload)))
(if file (load file))
(if (not (bound? sym))
(error "unbound variable" sym))
(cont '())))
(define head car)
(define (tail x) (force (cdr x)))
(define empty-stream? null?)