*** empty log message ***
This commit is contained in:
parent
218da2b992
commit
8c2c9967f8
3 changed files with 51 additions and 0 deletions
31
NEWS
31
NEWS
|
|
@ -136,6 +136,37 @@ Example:
|
|||
|
||||
* Changes to Scheme functions and syntax
|
||||
|
||||
** The empty combination is no longer valid syntax.
|
||||
|
||||
Previously, the expression "()" evaluated to the empty list. This has
|
||||
been changed to signal a "missing expression" error. The correct way
|
||||
to write the empty list as a literal constant is to use quote: "'()".
|
||||
|
||||
** Auto-loading of compiled-code modules is deprecated.
|
||||
|
||||
Guile used to be able to automatically find and link a shared
|
||||
libraries to satisfy requests for a module. For example, the module
|
||||
`(foo bar)' could be implemented by placing a shared library named
|
||||
"foo/libbar.so" (or with a different extension) in a directory on the
|
||||
load path of Guile.
|
||||
|
||||
This has been found to be too tricky, and is no longer supported.
|
||||
What you should do instead now is to write a small Scheme file that
|
||||
explicitly calls `dynamic-link' to load the shared library and
|
||||
`dynamic-call' to initialize it.
|
||||
|
||||
The shared libraries themselves should be installed in the usual
|
||||
places for shared libraries, with names like "libguile-foo-bar".
|
||||
|
||||
For example, place this into a file "foo/bar.scm"
|
||||
|
||||
(define-module (foo bar))
|
||||
|
||||
(dynamic-call "foobar_init" (dynamic-link "libguile-foo-bar"))
|
||||
|
||||
The file name passed to `dynamic-link' should not contain an
|
||||
extension. It will be provided automatically.
|
||||
|
||||
** The module system has been made more disciplined.
|
||||
|
||||
The function `eval' will now save and restore the current module
|
||||
|
|
|
|||
6
RELEASE
6
RELEASE
|
|
@ -40,6 +40,12 @@ In release 1.5:
|
|||
- remove deprecated macro from tags.h: SCM_DOUBLE_CELLP
|
||||
|
||||
In release 1.6:
|
||||
- remove support for autoloading compiled-code modules:
|
||||
try-module-linked
|
||||
try-module-dynamic-link
|
||||
init-dynamic-module
|
||||
scm_register_module_xxx
|
||||
etc.
|
||||
- remove deprecated variables:
|
||||
scm_top_level_lookup_closure_var
|
||||
- remove deprecated functions:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,19 @@
|
|||
2001-03-27 Marius Vollmer <mvo@zagadka.ping.de>
|
||||
|
||||
* r4rs.scm (call-with-values): New definition, defers to
|
||||
@call-with-values.
|
||||
|
||||
2001-03-26 Marius Vollmer <mvo@zagadka.ping.de>
|
||||
|
||||
* boot-9.scm (warn-autoload-deprecation): New function.
|
||||
(init-dynamic-module): Use it here to print warning. Only give
|
||||
warning when a module has actually been found.
|
||||
|
||||
2001-03-25 Marius Vollmer <mvo@zagadka.ping.de>
|
||||
|
||||
* boot-9.scm (init-dynamic-module): Issue warning about
|
||||
auto-loading of compiled code modules being deprecated.
|
||||
|
||||
* Makefile.am (ice9_sources): Added "time.scm".
|
||||
|
||||
2001-03-20 Keisuke Nishida <kxn30@po.cwru.edu>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue