* Hash Table examples - hashq takes different number of arguments
@ 2009-12-14 22:19 Brian Gough
2009-12-18 0:51 ` Neil Jerram
0 siblings, 1 reply; 2+ messages in thread
From: Brian Gough @ 2009-12-14 22:19 UTC (permalink / raw)
To: bug-guile
In the "Hash Tables Example" in the manual, hashq needs 2 arguments
instead of 1 (patch below). I've updated the hash table output as
well to match the current version.
--
Brian Gough
Network Theory Ltd,
Publishing Free Software Manuals --- http://www.network-theory.co.uk/
From fdb6101d2e064620746ebfc9f9cd28bbdd2470e8 Mon Sep 17 00:00:00 2001
From: Brian Gough <bjg@gnu.org>
Date: Mon, 14 Dec 2009 19:59:32 +0000
Subject: [PATCH] update docs for Hash Table Examples
hashq now takes two arguments
order of elements in hash table is different now
---
doc/ref/api-compound.texi | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/doc/ref/api-compound.texi b/doc/ref/api-compound.texi
index 059390b..aaba00b 100644
--- a/doc/ref/api-compound.texi
+++ b/doc/ref/api-compound.texi
@@ -3626,11 +3626,11 @@ h
;; entry is at index (hashq 'frob).
h
@result{}
-#(() () () () ((frob . #f) (braz . "zonk")) () ((foo . "bar")))
+#(((braz . "zonk")) ((foo . "bar")) () () () () ((frob . #f)))
-(hashq 'frob)
+(hashq 'frob 7)
@result{}
-4
+6
@end lisp
--
1.5.4.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: Hash Table examples - hashq takes different number of arguments
2009-12-14 22:19 Hash Table examples - hashq takes different number of arguments Brian Gough
@ 2009-12-18 0:51 ` Neil Jerram
0 siblings, 0 replies; 2+ messages in thread
From: Neil Jerram @ 2009-12-18 0:51 UTC (permalink / raw)
To: Brian Gough; +Cc: bug-guile
Brian Gough <bjg@network-theory.co.uk> writes:
> In the "Hash Tables Example" in the manual, hashq needs 2 arguments
> instead of 1 (patch below). I've updated the hash table output as
> well to match the current version.
Thanks, committing shortly.
Neil
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-12-18 0:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-14 22:19 Hash Table examples - hashq takes different number of arguments Brian Gough
2009-12-18 0:51 ` Neil Jerram
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).