1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-06 12:10:28 +02:00

*** empty log message ***

This commit is contained in:
Mikael Djurfeldt 1998-12-07 02:56:00 +00:00
parent 0ec99547cd
commit bc9a91373f
2 changed files with 31 additions and 0 deletions

22
NEWS
View file

@ -26,6 +26,28 @@ Command line history length is now controlled by the readline option
* Changes to Scheme functions and syntax * Changes to Scheme functions and syntax
** New module: (ice-9 setf)
Implements generalized references a la Common LISP.
* New syntax: setf! PLACE VALUE
Puts VALUE in location specified by PLACE. setf! is more general than
set! in the sense that PLACE can be a form (GETTER EXP1 EXP2 ...). The
setf! expression will bw transformed into (SETTER EXP1 EXP2 ... VALUE)
where SETTER is a procedure or macro which has previously been
associated with GETTER.
Example:
(setf! (car x) 4) <=> (set-car! x 4)
* New syntax: setter GETTER
The name of the SETTER of GETTER. The way to associate a SETTER with
a GETTER is: (setf! (setter GETTER) SETTER)
Example:
(setf! (setter car) set-car!)
** The range of logand, logior, logxor, logtest, and logbit? have changed. ** The range of logand, logior, logxor, logtest, and logbit? have changed.
These functions now operate on numbers in the range of a C unsigned These functions now operate on numbers in the range of a C unsigned

View file

@ -1,3 +1,12 @@
1998-12-07 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
* Makefile.am: Added setf.scm.
1998-12-05 Christian Lynbech <chl@tbit.dk>
* setf.scm: New file. Adds the new forms `setf!' and `setter'
which implements generalized references a la Common LISP.
1998-12-02 Mikael Djurfeldt <mdj@barbara.nada.kth.se> 1998-12-02 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
* boot-9.scm (process-define-module): Added new specifier * boot-9.scm (process-define-module): Added new specifier