diff options
author | Ludovic Courtès <ludo@gnu.org> | 2006-06-13 08:14:01 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2006-06-13 08:14:01 +0000 |
commit | ad97642e70962bb9ce5a21311f86a1db772189e0 (patch) | |
tree | b582ddbec18ffedaedb743abf6322f72f5bdfbaa | |
parent | 487f6be13155caf20d86a3e5104cb7943a772297 (diff) | |
download | guile-ad97642e70962bb9ce5a21311f86a1db772189e0.tar.gz |
Changes from arch/CVS synchronization
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | doc/ref/ChangeLog | 5 | ||||
-rw-r--r-- | doc/ref/api-compound.texi | 4 |
4 files changed, 14 insertions, 0 deletions
@@ -1,3 +1,7 @@ +2006-06-13 Ludovic Courtès <ludovic.courtes@laas.fr> + + * NEWS: Mentioned the new behavior of `equal?' for structures. + 2006-06-06 Neil Jerram <neil@ossau.uklinux.net> * acinclude.m4 (ACX_PTHREAD): Update to latest definition from @@ -17,6 +17,7 @@ Changes in 1.8.1: * Changes to Scheme functions and syntax ** A one-dimenisonal array can now be 'equal?' to a vector. +** Structures, records, and SRFI-9 records can now be compared with `equal?'. * Bug fixes. ** array-set! with bit vector. diff --git a/doc/ref/ChangeLog b/doc/ref/ChangeLog index ba5968a02..3122bc3d3 100644 --- a/doc/ref/ChangeLog +++ b/doc/ref/ChangeLog @@ -1,3 +1,8 @@ +2006-06-13 Ludovic Courtès <ludovic.courtes@laas.fr> + + * api-compound.texi (Structure Concepts): Mentioned the behavior + of `equal?' for structures. + 2006-04-15 Kevin Ryde <user42@zip.com.au> * api-scheduling.texi (System asyncs): "{void *}" in @deffnx to keep diff --git a/doc/ref/api-compound.texi b/doc/ref/api-compound.texi index dda2518de..c00f3e9a8 100644 --- a/doc/ref/api-compound.texi +++ b/doc/ref/api-compound.texi @@ -2705,6 +2705,10 @@ memory, private to the structure, divided up into typed fields. A vtable is another structure used to hold type-specific data. Multiple structures can share a common vtable. +When applied to structures, the @code{equal?} predicate +(@pxref{Equality}) returns @code{#t} if the two structures share a +common vtable @emph{and} all their fields satisfy @code{equal?}. + Three concepts are key to understanding structures. @itemize @bullet{} |