* Added (null-environment 5) procedure.
This commit is contained in:
parent
21cdfd412b
commit
592b62cfe7
BIN
src/ikarus.boot
BIN
src/ikarus.boot
Binary file not shown.
|
@ -10,7 +10,8 @@
|
||||||
eval generate-temporaries free-identifier=?
|
eval generate-temporaries free-identifier=?
|
||||||
bound-identifier=? syntax-error datum->syntax
|
bound-identifier=? syntax-error datum->syntax
|
||||||
syntax->datum make-variable-transformer
|
syntax->datum make-variable-transformer
|
||||||
eval-r6rs-top-level boot-library-expand eval-top-level)
|
eval-r6rs-top-level boot-library-expand eval-top-level
|
||||||
|
null-environment)
|
||||||
(import
|
(import
|
||||||
(r6rs)
|
(r6rs)
|
||||||
(except (ikarus library-manager) installed-libraries)
|
(except (ikarus library-manager) installed-libraries)
|
||||||
|
@ -2379,6 +2380,10 @@
|
||||||
(make-eval-environment subst imp*))))
|
(make-eval-environment subst imp*))))
|
||||||
(define environment?
|
(define environment?
|
||||||
(lambda (x) (eval-environment? x)))
|
(lambda (x) (eval-environment? x)))
|
||||||
|
(define (null-environment n)
|
||||||
|
(unless (eqv? n 5)
|
||||||
|
(error 'null-environment "~s is not 5" n))
|
||||||
|
(environment '(ikarus null-environment-5)))
|
||||||
(define eval
|
(define eval
|
||||||
(lambda (x env)
|
(lambda (x env)
|
||||||
(unless (eval-environment? env)
|
(unless (eval-environment? env)
|
||||||
|
|
|
@ -589,6 +589,7 @@
|
||||||
[new-cafe i]
|
[new-cafe i]
|
||||||
[eval i ev]
|
[eval i ev]
|
||||||
[environment i ev]
|
[environment i ev]
|
||||||
|
[null-environment i]
|
||||||
[environment? i]
|
[environment? i]
|
||||||
[time-it i]
|
[time-it i]
|
||||||
[command-line-arguments i]
|
[command-line-arguments i]
|
||||||
|
|
|
@ -535,7 +535,7 @@
|
||||||
[inexact->exact C r5 se]
|
[inexact->exact C r5 se]
|
||||||
[modulo C r5 se]
|
[modulo C r5 se]
|
||||||
[remainder C r5 se]
|
[remainder C r5 se]
|
||||||
[null-environment S r5 se]
|
[null-environment C r5 se]
|
||||||
[quotient C r5 se]
|
[quotient C r5 se]
|
||||||
[scheme-report-environment S r5 se]
|
[scheme-report-environment S r5 se]
|
||||||
;;;
|
;;;
|
||||||
|
|
Loading…
Reference in New Issue