From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jos=E9_A=2E_Romero_L=2E?= Newsgroups: gmane.emacs.help Subject: Re: Style Issues in Lisp and Scheme programming, setq versus let ... and onion structure with multiple cores or eyes or kernels Re: string to list or string to array Date: Thu, 25 Oct 2012 01:25:03 -0700 (PDT) Message-ID: References: <62642868-f757-4115-a047-34c319a1c30f@o5g2000yqi.googlegroups.com> <87pq4c848a.fsf@kuiper.lan.informatimago.com> <4e87f58c-72fc-457b-8596-c792c39472e5@m4g2000yqb.googlegroups.com> <87zk3f7ey7.fsf@kuiper.lan.informatimago.com> <657d823b-990f-4a2b-a57c-2c644099ddcd@z2g2000yqj.googlegroups.com> <492ccf3f-9658-4446-913e-3d0600011702@y8g2000yqy.googlegroups.com> <9b568902-c943-4b69-b80f-21f7fb0f814b@o8g2000yqh.googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1351153519 1395 80.91.229.3 (25 Oct 2012 08:25:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Oct 2012 08:25:19 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 25 10:25:28 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TRIkl-0006iQ-1z for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Oct 2012 10:25:23 +0200 Original-Received: from localhost ([::1]:40873 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TRIkd-00014T-9b for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Oct 2012 04:25:15 -0400 Original-Received: by 10.224.138.142 with SMTP id a14mr9900649qau.4.1351153504098; Thu, 25 Oct 2012 01:25:04 -0700 (PDT) Original-Received: by 10.52.34.205 with SMTP id b13mr3424666vdj.3.1351153504069; Thu, 25 Oct 2012 01:25:04 -0700 (PDT) Original-Path: usenet.stanford.edu!news.glorb.com!x14no7526748qar.0!news-out.google.com!r17ni57592152qap.0!nntp.google.com!x14no7526735qar.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: <9b568902-c943-4b69-b80f-21f7fb0f814b@o8g2000yqh.googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=213.17.133.2; posting-account=mkEKGAoAAACAV2vhv5r9WHXWqsdL_niD Original-NNTP-Posting-Host: 213.17.133.2 User-Agent: G2/1.0 Injection-Date: Thu, 25 Oct 2012 08:25:04 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:195088 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:87417 Archived-At: W dniu czwartek, 25 pa=C5=BAdziernika 2012 05:20:32 UTC+2 u=C5=BCytkownik g= nui...@hotmail.com napisa=C5=82: (...) > As an aside you show the notation. well and good. But I realize that > there is no executable substitute or ability to return a curried > function > in emacs. Consider these forms. (...) AFAIK there is none, but it's not hard to make one, e.g. (defmacro curry (fun &rest args) `(lambda (&rest more-args) (apply ,fun (append ',args more-args)))) Cheers,=20 -- Jos=C3=A9 A. Romero L. escherdragon at gmail "We who cut mere stones must always be envisioning cathedrals." (Quarry worker's creed)