From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ian Price Newsgroups: gmane.lisp.guile.devel Subject: Re: Immutable rnrs hashtable Date: Mon, 26 Nov 2012 01:25:56 +0000 Message-ID: <87mwy5b1ej.fsf@Kagami.home> References: <50B2A31B.1070903@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1353893174 1260 80.91.229.3 (26 Nov 2012 01:26:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Nov 2012 01:26:14 +0000 (UTC) Cc: guile-devel@gnu.org To: Sjoerd van Leent =?iso-8859-1?Q?Priv=E9?= Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Nov 26 02:26:24 2012 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TcnSj-0005kz-SM for guile-devel@m.gmane.org; Mon, 26 Nov 2012 02:26:17 +0100 Original-Received: from localhost ([::1]:42232 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TcnSY-0002lU-Pg for guile-devel@m.gmane.org; Sun, 25 Nov 2012 20:26:06 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:50341) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TcnSV-0002kg-CC for guile-devel@gnu.org; Sun, 25 Nov 2012 20:26:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TcnSU-0000uf-8Q for guile-devel@gnu.org; Sun, 25 Nov 2012 20:26:03 -0500 Original-Received: from mail-we0-f169.google.com ([74.125.82.169]:44897) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TcnSU-0000uX-17 for guile-devel@gnu.org; Sun, 25 Nov 2012 20:26:02 -0500 Original-Received: by mail-we0-f169.google.com with SMTP id t49so2609656wey.0 for ; Sun, 25 Nov 2012 17:26:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=xMda4FNMatZGdqefpSk82pHu1xGRDrXSkv9KAxpSBwM=; b=M12A+EjneQV5xuOsp5UturVAFoFZ6APscW0FyMG73+/7S1UNDa5vlIVY1uynjK1/rR drPdxbNUp7N43BbgGtBcSU+1eWTWgJVEi1zyFA4AX0eWSWV0pL92JOP6Khu5ZnSXKBda K1PqmNCE8RBtTw9E7D8vIw9gshA1wznzzWB5elEiYlk1EzvtYH8lt6a11Vj2gLjDcgaZ 6w+9SaU+KFjcQKyKeG6i/s+1ZSuSbHt2d1+QmJWmUEWwPdRv7eDsXw71oIl4DVGbge4c oflZLhhrKkhvgUfEtHs28g5xkBBfzVRW+r5SzxmfVAUvvwIGvGM4pytTUnJlhdHdnX+Z xoTw== Original-Received: by 10.180.75.135 with SMTP id c7mr18344083wiw.10.1353893161271; Sun, 25 Nov 2012 17:26:01 -0800 (PST) Original-Received: from Kagami.home (host86-182-157-241.range86-182.btcentralplus.com. [86.182.157.241]) by mx.google.com with ESMTPS id w5sm21489073wiz.10.2012.11.25.17.25.59 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 25 Nov 2012 17:26:00 -0800 (PST) In-Reply-To: <50B2A31B.1070903@gmail.com> ("Sjoerd van Leent =?iso-8859-1?Q?Priv=E9=22's?= message of "Mon, 26 Nov 2012 00:00:43 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 74.125.82.169 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:15254 Archived-At: --=-=-= 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" --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-Fix-docs-for-hashtable-copy.patch Content-Description: docs patch >From 085552d83d647a05b8ab33810ce50401d0f3afe4 Mon Sep 17 00:00:00 2001 From: Ian Price 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 --=-=-=--