From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Kjetil S. Matheussen" Newsgroups: gmane.lisp.guile.user,gmane.lisp.guile.devel Subject: Re: Injecting variables into closures. Date: Thu, 29 Nov 2007 15:54:56 +0100 (CET) Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: ger.gmane.org 1196348126 15375 80.91.229.12 (29 Nov 2007 14:55:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 Nov 2007 14:55:26 +0000 (UTC) To: guile-user@gnu.org, guile-devel@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Nov 29 15:55:34 2007 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ixknd-0006Gx-PW for guile-user@m.gmane.org; Thu, 29 Nov 2007 15:55:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IxknO-0007aK-Ac for guile-user@m.gmane.org; Thu, 29 Nov 2007 09:55:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ixkn9-0007Tq-I5 for guile-user@gnu.org; Thu, 29 Nov 2007 09:55:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ixkn6-0007Sj-V7 for guile-user@gnu.org; Thu, 29 Nov 2007 09:55:02 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ixkn6-0007SZ-MN; Thu, 29 Nov 2007 09:55:00 -0500 Original-Received: from mail-forward.uio.no ([129.240.10.42]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ixkn6-000868-1B; Thu, 29 Nov 2007 09:55:00 -0500 Original-Received: from mail-mx9.uio.no ([129.240.10.39]) by pat.uio.no with esmtp (Exim 4.67) (envelope-from ) id 1Ixkn4-00052Z-Nu; Thu, 29 Nov 2007 15:54:58 +0100 Original-Received: from bjo1-1x-dhcp290.studby.uio.no ([193.157.245.38]) by mail-mx9.uio.no with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1Ixkn4-0003Tw-Et; Thu, 29 Nov 2007 15:54:58 +0100 X-X-Sender: kjetil@ttleush In-Reply-To: X-UiO-ClamAV-Virus: No X-UiO-Spam-info: not spam, SpamAssassin (score=0.0, required=12.0, autolearn=disabled, AWL=0.034) X-UiO-Scanned: 9F7AB4BCBEFBF8D1A453D1C511A04DCA2C956F24 X-UiO-SPAM-Test: remote_host: 193.157.245.38 spam_score: 0 maxlevel 200 minaction 2 bait 0 mail/h: 4 total 538 max/h 6 blacklist 0 greylist 0 ratelimit 0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:6304 gmane.lisp.guile.devel:6901 Archived-At: On Thu, 29 Nov 2007, Kjetil S. Matheussen wrote: > > (let () > (display (defined? 'gakk)) > (inject-variable gakk 90) > gakk) > => #f90 > By the way. I'm quite surprised the environments consist of linked lists. Wouldn't it be much faster using hash tables instead? Perhaps the variables are cached or something? _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user