From: Ian Price <ianprice90@googlemail.com>
To: "Sjoerd van Leent Privé" <svanleent@gmail.com>
Cc: guile-devel@gnu.org
Subject: Re: Immutable rnrs hashtable
Date: Mon, 26 Nov 2012 01:25:56 +0000 [thread overview]
Message-ID: <87mwy5b1ej.fsf@Kagami.home> (raw)
In-Reply-To: <50B2A31B.1070903@gmail.com> ("Sjoerd van Leent Privé"'s message of "Mon, 26 Nov 2012 00:00:43 +0100")
[-- Attachment #1: Type: text/plain, Size: 345 bytes --]
Whoops, in my haste, I forgot to note that this _is_ a bug in guile's
documentation, not in the implementation. Suggested fix included.
Ludovic, Andy:
Should I add him to THANKS too?
--
Ian Price -- shift-reset.com
"Programming is like pinball. The reward for doing it well is
the opportunity to do it again" - from "The Wizardy Compiled"
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: docs patch --]
[-- Type: text/x-patch, Size: 972 bytes --]
From 085552d83d647a05b8ab33810ce50401d0f3afe4 Mon Sep 17 00:00:00 2001
From: Ian Price <ianprice90@googlemail.com>
Date: Mon, 26 Nov 2012 01:24:51 +0000
Subject: [PATCH] Fix docs for `hashtable-copy'
* doc/ref/r6rs.texi (rnrs hashtables): a true mutable argument means a
mutable copy.
---
doc/ref/r6rs.texi | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/ref/r6rs.texi b/doc/ref/r6rs.texi
index f9bc9e9..2028ada 100644
--- a/doc/ref/r6rs.texi
+++ b/doc/ref/r6rs.texi
@@ -2101,8 +2101,8 @@ immutable.
@deffn {Scheme Procedure} hashtable-copy hashtable
@deffnx {Scheme Procedure} hashtable-copy hashtable mutable
Returns a copy of the hash table @var{hashtable}. If the optional
-argument @var{mutable} is a true value, the new hash table will be
-immutable.
+argument @var{mutable} is provided and is a true value, the new hash
+table will be mutable.
@end deffn
@deffn {Scheme Procedure} hashtable-clear! hashtable
--
1.7.7.6
next prev parent reply other threads:[~2012-11-26 1:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-25 23:00 Immutable rnrs hashtable Sjoerd van Leent Privé
2012-11-26 1:07 ` Ian Price
2012-11-26 1:25 ` Ian Price [this message]
2012-11-26 9:44 ` Sjoerd van Leent Privé
2012-11-26 10:28 ` Ian Price
2012-11-26 14:18 ` Sjoerd van Leent Privé
2012-11-26 16:34 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mwy5b1ej.fsf@Kagami.home \
--to=ianprice90@googlemail.com \
--cc=guile-devel@gnu.org \
--cc=svanleent@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).