GNU bug report logs - #13022
hash-table accessors no longer work on vectors

Previous Next

Package: guile;

Reported by: Daniel Hartwig <mandyke <at> gmail.com>

Date: Wed, 28 Nov 2012 16:04:01 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 13022 in the body.
You can then email your comments to 13022 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#13022; Package guile. (Wed, 28 Nov 2012 16:04:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Daniel Hartwig <mandyke <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Wed, 28 Nov 2012 16:04:02 GMT) Full text and rfc822 format available.

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

From: Daniel Hartwig <mandyke <at> gmail.com>
To: bug-guile <at> gnu.org
Subject: hash-table accessors no longer work on vectors
Date: Thu, 29 Nov 2012 00:00:51 +0800
Straight out of (guile) Hash Table Examples:

scheme@(guile-user)> (define h (make-vector 7 '()))
scheme@(guile-user)> (hashq-set! h 'foo "bar")
ERROR: In procedure hashq-set!:
ERROR: In procedure scm_hash_fn_create_handle_x: Wrong type argument in position 1 (expecting hash-table): #(() () () () () () ())





Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Thu, 29 Nov 2012 20:16:01 GMT) Full text and rfc822 format available.

Notification sent to Daniel Hartwig <mandyke <at> gmail.com>:
bug acknowledged by developer. (Thu, 29 Nov 2012 20:16:02 GMT) Full text and rfc822 format available.

Message #10 received at 13022-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Daniel Hartwig <mandyke <at> gmail.com>
Cc: 13022-done <at> debbugs.gnu.org
Subject: Re: bug#13022: hash-table accessors no longer work on vectors
Date: Thu, 29 Nov 2012 21:13:42 +0100
Daniel Hartwig <mandyke <at> gmail.com> skribis:

> Straight out of (guile) Hash Table Examples:
>
> scheme@(guile-user)> (define h (make-vector 7 '()))
> scheme@(guile-user)> (hashq-set! h 'foo "bar")
> ERROR: In procedure hashq-set!:
> ERROR: In procedure scm_hash_fn_create_handle_x: Wrong type argument in position 1 (expecting hash-table): #(() () () () () () ())

I removed the faulty example from the doc, thanks!

Ludo’.




Information forwarded to bug-guile <at> gnu.org:
bug#13022; Package guile. (Fri, 30 Nov 2012 01:55:02 GMT) Full text and rfc822 format available.

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

From: Daniel Hartwig <mandyke <at> gmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 13022 <at> debbugs.gnu.org
Subject: Re: bug#13022: hash-table accessors no longer work on vectors
Date: Fri, 30 Nov 2012 09:52:39 +0800
[Message part 1 (text/plain, inline)]
On 30 November 2012 04:13, Ludovic Courtès <ludo <at> gnu.org> wrote:
> I removed the faulty example from the doc, thanks!

Ok.  The attached patch cleans up some more references to this.

I did not find a mention in NEWS, although I see that the
functionality was removed in Jan 2011 and the commit indicates it was
deprecated prior to that.  [commit f0554ee]

Regards
[0001-doc-remove-more-references-to-hash-tables-as-vectors.patch (application/octet-stream, attachment)]

Information forwarded to bug-guile <at> gnu.org:
bug#13022; Package guile. (Fri, 30 Nov 2012 20:27:01 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Daniel Hartwig <mandyke <at> gmail.com>
Cc: 13022 <at> debbugs.gnu.org
Subject: Re: bug#13022: hash-table accessors no longer work on vectors
Date: Fri, 30 Nov 2012 21:24:07 +0100
Hi Daniel,

Daniel Hartwig <mandyke <at> gmail.com> skribis:

> I did not find a mention in NEWS, although I see that the
> functionality was removed in Jan 2011 and the commit indicates it was
> deprecated prior to that.  [commit f0554ee]

Indeed, that should have been mentioned in NEWS...

> From 497f5cce8d4d8730ccc4b55d53c5db704a91e722 Mon Sep 17 00:00:00 2001
> From: Daniel Hartwig <mandyke <at> gmail.com>
> Date: Fri, 30 Nov 2012 09:40:36 +0800
> Subject: [PATCH] doc: remove more references to hash-tables-as-vectors
>
> * doc/ref/api-compound.texi (Hash Tables): Update.

Applied, thanks!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 29 Dec 2012 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 114 days ago.

Previous Next


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