From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hans Aberg Newsgroups: gmane.lisp.guile.user Subject: Re: List functions Date: Thu, 2 Dec 2010 17:06:06 +0100 Message-ID: References: <82728ACE-C593-4789-BED2-45674C06057E@telia.com> <87oc94ijj0.fsf@rapitore.luna> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1291309039 28077 80.91.229.12 (2 Dec 2010 16:57:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 2 Dec 2010 16:57:19 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Dec 02 17:57:13 2010 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.69) (envelope-from ) id 1POCT3-0004mk-FD for guile-user@m.gmane.org; Thu, 02 Dec 2010 17:57:13 +0100 Original-Received: from localhost ([127.0.0.1]:38776 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POCSx-0003GI-Sv for guile-user@m.gmane.org; Thu, 02 Dec 2010 11:57:08 -0500 Original-Received: from [140.186.70.92] (port=56961 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POBfe-0008Hq-Fi for guile-user@gnu.org; Thu, 02 Dec 2010 11:06:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1POBfd-0005iS-8L for guile-user@gnu.org; Thu, 02 Dec 2010 11:06:10 -0500 Original-Received: from smtp-out12.han.skanova.net ([195.67.226.212]:39342) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1POBfc-0005hp-Vl for guile-user@gnu.org; Thu, 02 Dec 2010 11:06:09 -0500 Original-Received: from h131n2-fre-d2.ias.bredband.telia.com (78.72.157.131) by smtp-out12.han.skanova.net (8.5.124.10) (authenticated as u26619196) id 4C7E0D4901C40FDF for guile-user@gnu.org; Thu, 2 Dec 2010 17:06:07 +0100 In-Reply-To: <87oc94ijj0.fsf@rapitore.luna> X-Mailer: Apple Mail (2.936) X-detected-operating-system: by eggs.gnu.org: 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:8279 Archived-At: Another problem: passing a list of length two to a function that takes two non-arguments. For example, (define h (lambda (x y) (display x) (display y))) and passing (list 1 2) to it. It is in the same context as before: I want to build functions like in Haskell f((1, 2), 3) where f = \((x, y), z) -> (x, y, z) --> (1,2,3)