caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: j h woodyatt <jhwoodyatt@mac.com>
To: Chris Hecker <checker@d6.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] hmm, ocaml with C syntax...
Date: Wed, 22 Aug 2001 18:18:01 -0700	[thread overview]
Message-ID: <200108230118.SAA22620@smtpout.mac.com> (raw)
In-Reply-To: <4.3.2.7.2.20010822154554.00e023e0@shell16.ba.best.com>

On Wednesday, August 22, 2001, at 03:48 , Chris Hecker wrote:
>
> http://research.microsoft.com/vault/
>
> The only difference seems to be the "key tracking" pre/post-condition 
> thing (and no type inference).  I wonder how well that works in 
> practice.  I also wonder if their generics, which are ML-style 
> polymorphics, not C++ style templates (but that have C++ template 
> syntax), will confuse C++ programmers.

ref<Foo<int>> has the same problem in Vault that it does in C++.

In addition to type inference, Caml has other things that Vault seems to 
be missing:

	+ Garbage collection
	+ Exceptions
	+ Classes (and class types)
	+ Streams (and the parser keyword)
	+ Polymorphic variants
	+ Parameter labels

I'm not sure I want to trade away all of those things to get invariants, 
though... invariants would be Really Qool to have.

The C syntax is *not* a big selling point for me.  Hey, I just got used 
to the idea that I can use "l'haricot" as a name for something 
bean-like, and you want me to give that up so I can worry about whether 
some '['/']' pair is delimiting an invariant signature or an array 
index?  Hmmm.

(Oh and there is the depressing fact that Vault isn't available to the 
public yet.  And when it is, it probably won't run on my platform...)


--
j h woodyatt <jhw@wetware.com>
"You're standing on sacred ground.  Many strange and wonderful
things have transpired right where you're standing."
                                               --unattributable
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


      reply	other threads:[~2001-08-23  1:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-22 22:48 Chris Hecker
2001-08-23  1:18 ` j h woodyatt [this message]

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=200108230118.SAA22620@smtpout.mac.com \
    --to=jhwoodyatt@mac.com \
    --cc=caml-list@inria.fr \
    --cc=checker@d6.com \
    --cc=jhw@wetware.com \
    /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;
as well as URLs for NNTP newsgroup(s).