From: Dario Teixeira <darioteixeira@yahoo.com>
To: OCaml mailing-list <caml-list@inria.fr>
Subject: Re: [Caml-list] The rec/nonrec debate
Date: Tue, 21 May 2013 08:14:39 -0700 (PDT) [thread overview]
Message-ID: <1369149279.61746.YahooMailNeo@web120402.mail.ne1.yahoo.com> (raw)
In-Reply-To: <20130521142209.GC9228@annexia.org>
Hi,
> IME the OCaml convention is an endless source of confusion for
> programmers coming from other languages. For example compared to
> C++'s vector<T>.
>
> By the way, why does Mezzo have to be a completely new language?
> Just change the syntax of OCaml and force people to put:
Well, the Mezzo team can correct me on this, but my impression is that
Mezzo is a research project in a preliminary stage. They have a new
type system based on permissions, which seems like an interesting
approach to manage side-effects without the disadvantages of monads
or the solutions used by languages such as Clean or Disciple. But of
course, the question remains whether this new approach will prove to
be convenient in practice. There's always the risk of straying too much
away from the convenience of ML, and creating a type system which
though more powerful than ML's, has the disadvantage that requires too
many type annotations (type inference may not be easy in your new
type system), or produces undecipherable error messages...
In any case, Mezzo is very different from OCaml, so it makes sense
to call it a new language. And while they're at it, it also makes sense
to start afresh with a cleaner syntax which incorporates the lessons
that the Caml community learnt over the past couple of decades --
like rec/nonrec/shadowing situation, or making type and value
declarations uniformly head-first.
Cheers,
Dario
next prev parent reply other threads:[~2013-05-21 15:14 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-20 14:31 Dario Teixeira
2013-05-20 14:38 ` David House
2013-05-20 15:18 ` Julien Blond
2013-05-20 15:19 ` David House
2013-05-20 16:18 ` Dario Teixeira
2013-05-21 14:22 ` Richard W.M. Jones
2013-05-21 15:14 ` Dario Teixeira [this message]
2013-05-20 15:17 ` Török Edwin
2013-05-20 16:05 ` Dario Teixeira
2013-05-21 4:07 ` [Caml-list] " Hongbo Zhang
2013-05-21 8:25 ` [Caml-list] " Alain Frisch
2013-05-21 11:15 ` Boris Yakobowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1369149279.61746.YahooMailNeo@web120402.mail.ne1.yahoo.com \
--to=darioteixeira@yahoo.com \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox