From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.lisp.guile.user Subject: Re: making a thunk out of a list Date: Tue, 24 Jul 2007 16:47:13 +0200 Message-ID: <87k5sp3lla.fsf@ambire.localdomain> References: <87r6mx3m0y.fsf@ambire.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1185288466 15013 80.91.229.12 (24 Jul 2007 14:47:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 24 Jul 2007 14:47:46 +0000 (UTC) Cc: guile-user To: "Marco Maggi" Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Jul 24 16:47:44 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 1IDLfq-0001YI-UK for guile-user@m.gmane.org; Tue, 24 Jul 2007 16:47:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IDLfq-0004HU-A6 for guile-user@m.gmane.org; Tue, 24 Jul 2007 10:47:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IDLfn-0004HL-7n for guile-user@gnu.org; Tue, 24 Jul 2007 10:47:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IDLfl-0004H7-Mk for guile-user@gnu.org; Tue, 24 Jul 2007 10:47:38 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IDLfl-0004H3-Hy for guile-user@gnu.org; Tue, 24 Jul 2007 10:47:37 -0400 Original-Received: from ppp-138-32.21-151.libero.it ([151.21.32.138] helo=ambire.localdomain) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IDLfk-000787-Mo for guile-user@gnu.org; Tue, 24 Jul 2007 10:47:37 -0400 Original-Received: from ttn by ambire.localdomain with local (Exim 4.63) (envelope-from ) id 1IDLfN-0007dF-W0; Tue, 24 Jul 2007 16:47:13 +0200 In-Reply-To: <87r6mx3m0y.fsf@ambire.localdomain> (Thien-Thi Nguyen's message of "Tue\, 24 Jul 2007 16\:37\:49 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-detected-kernel: Genre and OS details not recognized. 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:6073 Archived-At: () Thien-Thi Nguyen () Tue, 24 Jul 2007 16:37:49 +0200 () "Marco Maggi" () Tue, 24 Jul 2007 16:06:31 +0200 (lambda () (for-each primitive-eval result)) Ideas? (lambda () (primitive-eval `(begin ,@result))) however, this just produces the thunk form, if you want to really produce a thunk, you'd use: (primitive-eval `(lambda () ,@result)) thi _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user