mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-02 13:00:26 +02:00
*** empty log message ***
This commit is contained in:
parent
ac286d58fa
commit
e7b6c8341c
2 changed files with 7 additions and 22 deletions
22
NEWS
22
NEWS
|
@ -35,28 +35,6 @@ in backtraces.
|
||||||
|
|
||||||
* 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 be 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
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
1998-12-11 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
|
||||||
|
|
||||||
|
* Makefile.am: Removed setf.scm.
|
||||||
|
|
||||||
|
* setf.scm: Removed. 1. It was buggy. 2. It was unschemey.
|
||||||
|
(These shortcomings were my fault.)
|
||||||
|
|
||||||
1998-12-07 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
|
1998-12-07 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
|
||||||
|
|
||||||
* Makefile.am: Added setf.scm.
|
* Makefile.am: Added setf.scm.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue