Hi,

I noticed that Alain Frisch tried to add custom let bindings (see r11894
and r11906) but it was reverted later on (see r11960) because no
consensus was reached (among OCaml Core team, I guess). AFAIR, I don't
remember seeing this on the caml-list. I'd personally vote for its
inclusion as I can see some uses for it. As any syntaxic sugar, it is
something we can live without but it could make things easier to read or
to express.

FTR, the proposal is to add the following:

        “let.e0 p = e1 in e2” will be expanded to “e0 e1 (fun p -> e2)”.

I'm not sure which part of the proposal was not agreed on (the syntaxic details "let.e0" or the whole proposal). Any input from the core team would be appreciated.

What do others think about it?

Regards,

--
Mehdi Dogguy

--
Caml-list mailing list.  Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Reply via email to