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.

Full log


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’.




This bug report was last modified 12 years and 226 days ago.

Previous Next


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