From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joel James Adamson Newsgroups: gmane.lisp.guile.user Subject: Re: List functions Date: Wed, 01 Dec 2010 12:35:53 -0500 Message-ID: References: <82728ACE-C593-4789-BED2-45674C06057E@telia.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Trace: dough.gmane.org 1291225272 23310 80.91.229.12 (1 Dec 2010 17:41:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 1 Dec 2010 17:41:12 +0000 (UTC) Cc: guile-user@gnu.org To: Hans Aberg Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed Dec 01 18:41:08 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 1PNqfz-0001Zt-W0 for guile-user@m.gmane.org; Wed, 01 Dec 2010 18:41:08 +0100 Original-Received: from localhost ([127.0.0.1]:50083 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PNqfy-0001zn-E4 for guile-user@m.gmane.org; Wed, 01 Dec 2010 12:41:06 -0500 Original-Received: from [140.186.70.92] (port=39177 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PNqb6-0007P4-5R for guile-user@gnu.org; Wed, 01 Dec 2010 12:36:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PNqay-0000YN-GH for guile-user@gnu.org; Wed, 01 Dec 2010 12:36:03 -0500 Original-Received: from mxip2i.isis.unc.edu ([152.2.2.193]:24919) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PNqay-0000Y1-Dz for guile-user@gnu.org; Wed, 01 Dec 2010 12:35:56 -0500 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=4LVPDUAY4oTsX0aXpdgbld0HuQAekLLJpqGkJPi5Ius= c=1 sm=2 a=URPmHnG1AAAA:8 a=kTb6q5SWAAAA:8 a=BpVfE1RB89QAE4tW0bYA:9 a=LpHT746hlZ-28fTypkeyEAbh0PAA:4 a=ggs8CzkAohcA:10 a=7DjyQ4tZZbadnLpJPPMA:9 a=-jxNdka7NFL9Hf9gGwhGcfMClpQA:4 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAIoW9kysGgRS/2dsb2JhbACkCbtBiGaFRwSEXokM X-IronPort-AV: E=Sophos;i="4.59,284,1288584000"; d="scan'208";a="11067596" Original-Received: from mr1a.isis.unc.edu (HELO smtp.unc.edu) ([172.26.4.82]) by mxip2o.isis.unc.edu with ESMTP; 01 Dec 2010 12:35:54 -0500 Original-Received: from chondestes.bio.unc.edu.email.unc.edu (chondestes.bio.unc.edu [152.2.67.61]) (authenticated bits=0) by smtp.unc.edu (8.14.4/8.14.3) with ESMTP id oB1HZsVY001621 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 1 Dec 2010 12:35:54 -0500 (EST) In-Reply-To: <82728ACE-C593-4789-BED2-45674C06057E@telia.com> (Hans Aberg's message of "Wed, 1 Dec 2010 17:28:13 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) 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:8258 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hans Aberg writes: > It seems natural to translate (f, g) x into ((f g) x), and () x into > (() x), but I'm not sure if the lists (f g) and () can be made acting > as functions this way. (f g) would evaluate as a composition as long as f takes a procedure as an argument and returns a function that takes x as its argument. No problems there. Alternatively you could think of f returning a function of x when it evaluates g. Joel =2D-=20 Joel J. Adamson Servedio Lab University of North Carolina at Chapel Hill FSF Member #8164 http://www.unc.edu/~adamsonj --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iF4EAREIAAYFAkz2h3kACgkQp61eY7lvATJM2QD/WvyGzQpSFYwk4r41pmXc5GVj hhxU3yelpaYzfvN3PkoA/15SLgcWF0kQhlOfrsn79GcXtrfCfqlFbspWDYnmWzj9 =FJjA -----END PGP SIGNATURE----- --=-=-=--