From ad97642e70962bb9ce5a21311f86a1db772189e0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ludovic=20Court=C3=A8s?= Date: Tue, 13 Jun 2006 08:14:01 +0000 Subject: [PATCH] Changes from arch/CVS synchronization --- ChangeLog | 4 ++++ NEWS | 1 + doc/ref/ChangeLog | 5 +++++ doc/ref/api-compound.texi | 4 ++++ 4 files changed, 14 insertions(+) diff --git a/ChangeLog b/ChangeLog index d9cac4803..d8100a7af 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-06-13 Ludovic Courtès + + * NEWS: Mentioned the new behavior of `equal?' for structures. + 2006-06-06 Neil Jerram * 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 + + * api-compound.texi (Structure Concepts): Mentioned the behavior + of `equal?' for structures. + 2006-04-15 Kevin Ryde * 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{} -- 2.20.1