From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Christopher Cramer Newsgroups: gmane.lisp.guile.user Subject: Re: functional hash operations Date: Tue, 31 Dec 2002 06:38:37 -0600 Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Message-ID: <20021231063837.B26806@kiwi.pyrotechnics.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1041338210 26467 80.91.224.249 (31 Dec 2002 12:36:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 31 Dec 2002 12:36:50 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18TLdY-0006sl-00 for ; Tue, 31 Dec 2002 13:36:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18TLcJ-00029W-04 for guile-user@m.gmane.org; Tue, 31 Dec 2002 07:35:31 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18TLbe-0001Uh-00 for guile-user@gnu.org; Tue, 31 Dec 2002 07:34:50 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18TLbQ-0000kw-00 for guile-user@gnu.org; Tue, 31 Dec 2002 07:34:38 -0500 Original-Received: from pyro.net ([207.7.10.6] helo=kiwi.pyro.net) by monty-python.gnu.org with smtp (Exim 4.10.13) id 18TLbK-0000VN-00 for guile-user@gnu.org; Tue, 31 Dec 2002 07:34:31 -0500 Original-Received: (qmail 27592 invoked by uid 8610); 31 Dec 2002 12:38:37 -0000 Original-To: guile-user@gnu.org Mail-Followup-To: guile-user@gnu.org Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from prj@po.cwru.edu on Mon, Dec 30, 2002 at 06:29:38PM -0500 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: General Guile related discussions List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.user:1488 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:1488 On Mon, Dec 30, 2002 at 06:29:38PM -0500, Paul Jarc wrote: > Sometimes it would be useful to have functional operations on hashes: > "make a copy of this hash which also has this additional entry", etc. > It would also be nice to make such copies share as much memory as > possible with the original hash. This is easy enough to do by taking > advantage of the knowledge of the representation of hashes as vectors > of alists, but is it safe to assume that representation? Or might the > representation change in the future? It's hard for me to imagine any other good representation, so I don't think it will change. OTOH if you want more operations on hash tables it might not be a bad idea to get them included in Guile. -- Christopher Cramer "All you have to do is tell them they are being attacked and denounce the pacifists for lack of patriotism and exposing the country to danger. It works the same way in any country." - Hermann Georing, 1946 _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user