mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-12 16:50:22 +02:00
* boot-9.scm (the-environment): New special form: Returns an
object representing the current local evaluation environment. This object can be used in `local-eval' and `defined?'.
This commit is contained in:
parent
b322f09ab8
commit
dc61592f84
2 changed files with 13 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
1998-11-21 Mikael Djurfeldt <mdj@kenneth>
|
||||||
|
|
||||||
|
* boot-9.scm (the-environment): New special form: Returns an
|
||||||
|
object representing the current local evaluation environment.
|
||||||
|
This object can be used in `local-eval' and `defined?'.
|
||||||
|
|
||||||
1998-11-13 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
|
1998-11-13 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
|
||||||
|
|
||||||
* boot-9.scm (collect): New syntax. Similar to begin but returns
|
* boot-9.scm (collect): New syntax. Similar to begin but returns
|
||||||
|
|
|
@ -2737,6 +2737,13 @@
|
||||||
`(with-fluids* (list ,@(map car bindings)) (list ,@(map cadr bindings))
|
`(with-fluids* (list ,@(map car bindings)) (list ,@(map cadr bindings))
|
||||||
(lambda () ,@body)))
|
(lambda () ,@body)))
|
||||||
|
|
||||||
|
;;; Environments
|
||||||
|
|
||||||
|
(define the-environment
|
||||||
|
(procedure->syntax
|
||||||
|
(lambda (x e)
|
||||||
|
e)))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;;; {Macros}
|
;;; {Macros}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue