GNU bug report logs - #18223
[PATCH] Fix thinko concerning object property docs

Previous Next

Package: guile;

Reported by: David Kastrup <dak <at> gnu.org>

Date: Fri, 8 Aug 2014 13:44:01 UTC

Severity: normal

Tags: patch

Merged with 14792

Done: Mark H Weaver <mhw <at> netris.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: David Kastrup <dak <at> gnu.org>
To: bug-guile <at> gnu.org
Cc: David Kastrup <dak <at> gnu.org>
Subject: [PATCH] Fix thinko concerning object property docs
Date: Fri,  8 Aug 2014 15:42:31 +0200
Numeric values cannot reliably be distinguished using eq? and have no
guaranteed object identity.

Signed-off-by: David Kastrup <dak <at> gnu.org>
---
 doc/ref/api-utility.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/ref/api-utility.texi b/doc/ref/api-utility.texi
index ffdf276..e2b60e2 100644
--- a/doc/ref/api-utility.texi
+++ b/doc/ref/api-utility.texi
@@ -222,7 +222,7 @@ setting of @var{obj}'s @var{property}.
 
 A single object property created by @code{make-object-property} can
 associate distinct property values with all Scheme values that are
-distinguishable by @code{eq?} (including, for example, integers).
+distinguishable by @code{eq?} (ruling out numeric values).
 
 Internally, object properties are implemented using a weak key hash
 table.  This means that, as long as a Scheme value with property values
-- 
1.9.1





This bug report was last modified 10 years and 284 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.