caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] "Let"-less syntax for coreML
@ 2012-01-03 18:43 Diego Olivier Fernandez Pons
  2012-01-03 19:09 ` Alan Schmitt
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Diego Olivier Fernandez Pons @ 2012-01-03 18:43 UTC (permalink / raw)
  To: caml-list

[-- Attachment #1: Type: text/plain, Size: 670 bytes --]

    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

[-- Attachment #2: Type: text/html, Size: 966 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2012-01-04 17:12 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-03 18:43 [Caml-list] "Let"-less syntax for coreML Diego Olivier Fernandez Pons
2012-01-03 19:09 ` Alan Schmitt
2012-01-03 19:12 ` Wojciech Meyer
2012-01-03 22:18   ` Diego Olivier Fernandez Pons
2012-01-03 22:34 ` Gabriel Scherer
2012-01-04 10:05   ` Diego Olivier Fernandez Pons
2012-01-04 10:57     ` Pierre-Alexandre Voye
2012-01-04 11:08       ` Andrej Bauer
2012-01-04 11:06     ` Daniel Bünzli
2012-01-04 12:18       ` Yaron Minsky
2012-01-04 13:30         ` Diego Olivier Fernandez Pons
2012-01-04 15:50           ` Edgar Friendly
2012-01-04 17:12           ` Damien Doligez
2012-01-04 16:59         ` Markus Mottl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).