1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-03 13:20:26 +02:00

*** empty log message ***

This commit is contained in:
Mikael Djurfeldt 2000-06-21 01:17:51 +00:00
parent affb914f39
commit c0997079b4
2 changed files with 47 additions and 0 deletions

38
NEWS
View file

@ -10,8 +10,46 @@ Changes since Guile 1.4:
* Changes to the stand-alone interpreter
** It's now possible to create modules with controlled environments
Example:
(define m (make-module 1021 (list (resolve-interface '(ice-9 safe-r5rs)))))
;;; m will now be a module containing only a safe subset of R5RS
(eval-in-module '(+ 1 2) m) --> 3
(eval-in-module 'load m) --> ERROR: Unbound variable: load
* Changes to Scheme functions and syntax
** New define-module option: pure
Tells the module system not to include any bindings from the root
module.
Example:
(define-module (totally-empty-module)
:pure)
** New define-module option: export NAME1 ...
Export names NAME1 ...
This option is required if you want to be able to export bindings from
a module which doesn't import one of `define-public' or `export'.
Example:
(define-module (foo)
:pure
:use-module (ice-9 r5rs)
:export (bar))
;;; Note that we're pure R5RS below this point!
(define (bar)
...)
* Changes to the gh_ interface
* Changes to the scm_ interface

View file

@ -1,3 +1,12 @@
2000-06-21 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
* boot-9.scm (purify-module!, module-export!): New procedures.
(export): Rewritten using `module-export!'.
(process-define-module): New define-module options: pure, export.
See NEWS.
* null.scm, r5rs.scm, safe-r5rs.scm, safe.scm: New modules.
2000-06-20 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
* session.scm (make-fold-modules): Detect circular references in