From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nala Ginrut Newsgroups: gmane.lisp.guile.devel Subject: Re: About sweet-expression Date: Tue, 6 Mar 2012 16:16:46 +0800 Message-ID: References: <87ipiixma5.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d043be17cf274a504ba8ea9e1 X-Trace: dough.gmane.org 1331021828 30822 80.91.229.3 (6 Mar 2012 08:17:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 6 Mar 2012 08:17:08 +0000 (UTC) Cc: guile-devel@gnu.org To: David Kastrup Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Mar 06 09:17:07 2012 Return-path: Envelope-to: guile-devel@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 1S4pZy-0002gv-Cu for guile-devel@m.gmane.org; Tue, 06 Mar 2012 09:17:06 +0100 Original-Received: from localhost ([::1]:47044 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4pZx-0004bb-HJ for guile-devel@m.gmane.org; Tue, 06 Mar 2012 03:17:05 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:51747) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4pZp-0004b5-B0 for guile-devel@gnu.org; Tue, 06 Mar 2012 03:17:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S4pZk-0003Cf-Gx for guile-devel@gnu.org; Tue, 06 Mar 2012 03:16:56 -0500 Original-Received: from mail-vx0-f169.google.com ([209.85.220.169]:37720) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4pZh-0003Bt-4t; Tue, 06 Mar 2012 03:16:49 -0500 Original-Received: by vcbfk14 with SMTP id fk14so4867715vcb.0 for ; Tue, 06 Mar 2012 00:16:46 -0800 (PST) Received-SPF: pass (google.com: domain of nalaginrut@gmail.com designates 10.220.155.143 as permitted sender) client-ip=10.220.155.143; Authentication-Results: mr.google.com; spf=pass (google.com: domain of nalaginrut@gmail.com designates 10.220.155.143 as permitted sender) smtp.mail=nalaginrut@gmail.com; dkim=pass header.i=nalaginrut@gmail.com Original-Received: from mr.google.com ([10.220.155.143]) by 10.220.155.143 with SMTP id s15mr1240784vcw.55.1331021806555 (num_hops = 1); Tue, 06 Mar 2012 00:16:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=szZLLnTOL7KiogcqtCXXpIz7nF0kWVhIXM0a9oGfuGY=; b=WGTGZ90u+o6eF4WwSx0ozVK2wWRj8KvKiSxJkRiM4Bs2rNQ5SOmQv2bpmVFMQzuJBg 6gVx/0UqwJ9mOCL9HlkdSFL4wp+xMEz3pjNbekGYHQ2OAtIYbxM1ht7BFcDFo9f3OwJ5 mGoZfROXQXkmze3liMPWCj7uyffSWaCK6m6D1Nk2BCq5J9Z2lpr6LCc6/PTv7GkbX60H 918lHrWetsN8cizDVudBhuf95Eju2DICNntSiyZbT218leqAgkZw8BRpA+EAs+Gn/gtt gTnnXhmWc3m+JwLhgCkjGkDX59RKok+Q6UwLM8z7NeYHFD5LYwlGe/FySMpK3mEm1VXt akhQ== Original-Received: by 10.220.155.143 with SMTP id s15mr1019247vcw.55.1331021806203; Tue, 06 Mar 2012 00:16:46 -0800 (PST) Original-Received: by 10.52.88.231 with HTTP; Tue, 6 Mar 2012 00:16:46 -0800 (PST) In-Reply-To: <87ipiixma5.fsf@fencepost.gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.220.169 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:14022 Archived-At: --f46d043be17cf274a504ba8ea9e1 Content-Type: text/plain; charset=UTF-8 On Tue, Mar 6, 2012 at 2:42 PM, David Kastrup wrote: > Nala Ginrut writes: > > > I try to port sweet-expression to newest Guile. Fortunately, the > > author wrote a compatible version for old Guile in 2008. So I just try > > to rewrite part of it for some obvious reasons. It woks fine now. > > > > Though some guys doesn't like sweet-expression at all (OK, they're > > real Lispers! But me too ;-)). I'm not a big fan to write Scheme like > > this: > > ----------------------- > > define fibfast(n) > > if {n < 2} > > n > > fibup(n 2 1 0) > > ----------------------- > > But I think it maybe useful for newbies especially came from Python of > > C. > > That's like thinking the easiest path for a Franch-speaking newbie to > learn English is to start by learning Latin. > > You'll find that kind of opinion expressed mostly by people fascinated > with Latin rather than English. > > Oh~well, let them be. This sweet won't make Latin fans engulf English world. Take it easy. I believe it's a good way to show how prefix is better than infix in some cases. > -- > David Kastrup > > > --f46d043be17cf274a504ba8ea9e1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On Tue, Mar 6, 2012 at 2:42 PM, David Ka= strup <dak@gnu.org&= gt; wrote:
Nala Ginrut <n= alaginrut@gmail.com> writes:

> I try to port sweet-expression to newest Guile. Fortunately, the
> author wrote a compatible version for old Guile in 2008. So I just try=
> to rewrite part of it for some obvious reasons. It woks fine now.
>
> Though some guys doesn't like sweet-expression at all (OK, they= 9;re
> real Lispers! But me too ;-)). I'm not a big fan to write Scheme l= ike
> this:
> -----------------------
> define fibfast(n) =C2=A0
> =C2=A0 if {n < 2} =C2=A0 =C2=A0 =C2=A0=C2=A0
> =C2=A0 =C2=A0 n
> =C2=A0 =C2=A0 fibup(n 2 1 0)
> -----------------------
> But=C2=A0I think it maybe useful for newbies especially came from Pyth= on of
> C.

That's like thinking the easiest path for a Franch-speaking newbi= e to
learn English is to start by learning Latin.

You'll find that kind of opinion expressed mostly by people fascinated<= br> with Latin rather than English.


Oh~well, let them be. This sweet won't make Lati= n fans engulf English world.=C2=A0
Take it easy. I believe it'= ;s a good way to show how prefix is better than infix in some cases.

=C2=A0
--
David Kastrup



--f46d043be17cf274a504ba8ea9e1--