summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2006-06-13 08:14:01 +0000
committerLudovic Courtès <ludo@gnu.org>2006-06-13 08:14:01 +0000
commitad97642e70962bb9ce5a21311f86a1db772189e0 (patch)
treeb582ddbec18ffedaedb743abf6322f72f5bdfbaa
parent487f6be13155caf20d86a3e5104cb7943a772297 (diff)
downloadguile-ad97642e70962bb9ce5a21311f86a1db772189e0.tar.gz
Changes from arch/CVS synchronization
-rw-r--r--ChangeLog4
-rw-r--r--NEWS1
-rw-r--r--doc/ref/ChangeLog5
-rw-r--r--doc/ref/api-compound.texi4
4 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d9cac4803..d8100a7af 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/NEWS b/NEWS
index 6b7ad7c52..3ff9f42af 100644
--- a/NEWS
+++ b/NEWS
@@ -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{}