From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Bruce Korb Newsgroups: gmane.lisp.guile.devel Subject: Re: How do I really do this? Date: Sat, 06 Mar 2004 17:33:13 -0800 Organization: Home Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <404A7BD9.B76C520E@veritas.com> References: <40466FAF.3A286BB0@veritas.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1078970849 4879 80.91.224.253 (11 Mar 2004 02:07:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 11 Mar 2004 02:07:29 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Mar 11 03:07:17 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B1FbR-0002Th-00 for ; Thu, 11 Mar 2004 03:07:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B1FaY-0007Lt-Pz for guile-devel@m.gmane.org; Wed, 10 Mar 2004 21:06:22 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1Azn6V-0002EM-3x for guile-devel@gnu.org; Sat, 06 Mar 2004 20:29:19 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1Azn5y-00024n-88 for guile-devel@gnu.org; Sat, 06 Mar 2004 20:29:18 -0500 Original-Received: from [143.127.3.10] (helo=MTVMIME02.enterprise.veritas.com) by monty-python.gnu.org with esmtp (Exim 4.30) id 1Azn5x-00024k-Sl for guile-devel@gnu.org; Sat, 06 Mar 2004 20:28:45 -0500 Original-Received: from megami.veritas.com (unverified) by MTVMIME02.enterprise.veritas.com (Content Technologies SMTPRS 4.3.12) with SMTP id ; Sat, 6 Mar 2004 17:28:41 -0800 Original-Received: from bach.veritas.com ([172.22.12.213]) (1609 bytes) by megami.veritas.com via sendmail with P:esmtp/R:smart_host/T:smtp (sender: ) id for ; Sat, 6 Mar 2004 17:28:41 -0800 (PST) (Smail-3.2.0.101 1997-Dec-17 #15 built 2001-Aug-30) Original-Received: from veritas.com (unknown [127.0.0.1]) by bach.veritas.com (Postfix) with ESMTP id 70B0375810D; Sat, 6 Mar 2004 20:33:13 -0500 (EST) X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.18-3 i686) X-Accept-Language: en Original-To: djurfeldt@nada.kth.se X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.4 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 Xref: main.gmane.org gmane.lisp.guile.devel:3499 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:3499 Mikael Djurfeldt wrote: > (define t (make-hash-table)) > (hash-set! t (function-returning-string) (value-function)) > > Then you can lookup values again with (hash-ref t ). > > This is all documented in the Guile refence manual in the info node > 'Hash Tables'. The only Guile .info stuff I have in my distribution is: > Scheme Programming > * data-rep: (data-rep). Data Representation in Guile -- how to use > Guile objects in your C code. which is why I was having so much trouble. :( I was looking up the hash stuff in the libguile C sources and the "make-hash-table" is an ice-9 defined wrapper around the primitive "make-vector". That made it too difficult to find. Thank you both for your help! (You, Mike, and Neil, too!) Regards, Bruce _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel