From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id q03Iht9U032253 for ; Tue, 3 Jan 2012 19:43:55 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhoCAOtLA09KfVK2kGdsb2JhbAA5CoIFqlMIIgEBAQEJCQ0bBCGBaQUdAhMZARseAxIIAQddAREBBQEiGxqFJoIplkGCWwqLZYJrhDU/iHECBQuIS4M5BJUCjX09g3s X-IronPort-AV: E=Sophos;i="4.71,451,1320620400"; d="scan'208";a="125459692" Received: from mail-we0-f182.google.com ([74.125.82.182]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 03 Jan 2012 19:43:49 +0100 Received: by werb13 with SMTP id b13so15143137wer.27 for ; Tue, 03 Jan 2012 10:43:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=WmMSBO9IPz8ed0jPY53ENh23IIcNpSDVr31V4c1yuzY=; b=mpCf0BWdoyFjHrDERyIvA8nB4nKSyUK9so23P8xNOWrD5SALOvvMM4TF7psn56GQFZ 2pP6w3oWNF44MrE/DsYBD9o+Y3z3BgTmQR+CH29BviqxhYbMPIl3G8qU0udv6Wqn7xe1 oL3jmRUQHp0pJj/CnQVVgSX9EoC0tRObgF0p0= MIME-Version: 1.0 Received: by 10.216.139.94 with SMTP id b72mr29573115wej.38.1325616229517; Tue, 03 Jan 2012 10:43:49 -0800 (PST) Received: by 10.216.65.129 with HTTP; Tue, 3 Jan 2012 10:43:49 -0800 (PST) Date: Tue, 3 Jan 2012 19:43:49 +0100 Message-ID: From: Diego Olivier Fernandez Pons To: caml-list Content-Type: multipart/alternative; boundary=0016e6db2ada780b4004b5a4143c Subject: [Caml-list] "Let"-less syntax for coreML --0016e6db2ada780b4004b5a4143c Content-Type: text/plain; charset=ISO-8859-1 List, I was wondering if there was any obstruction to the removal of the "let" keyword in a syntax for coreML. My reasoning is that because everytime there is a "let" there is also an "=" sign, we could completely remove the "let" and use the "=" sign instead to identify new symbol introductions. x = 1 s = function x -> x + 1 d = s 1 o = function f g -> function x -> f (g x) The only cases to handle would be - comparison "=" sign : replaced by "==" - let rec : could be ignored or replaced by something else like "=|" - equational style 'let f x y = x + y' : forbid Does anyone see anything that could prevent this from being done ? Diego Olivier --0016e6db2ada780b4004b5a4143c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable =A0 =A0 List,

I was wondering if there was any obstructi= on to the removal of the "let" keyword in a syntax for coreML.

My reasoning is that because everytime there is a &q= uot;let" there is also an "=3D" sign, we could completely re= move the "let" and use the "=3D" sign instead to identi= fy new symbol introductions.

x =3D 1
s =3D function x=A0->=A0x + 1
d =3D s 1
o =3D function f g=A0-> function x=A0-> f (g x)

<= /div>
The only cases to handle would be
- comparison "= =3D" sign : replaced by "=3D=3D"
- let rec : could be ignored or replaced by something else like "= =3D|"
- equational style 'let f x y =3D x + y' : for= bid

Does anyone see anything that could prevent th= is from being done ?

=A0 =A0 =A0 =A0 =A0Diego Olivier
--0016e6db2ada780b4004b5a4143c--