From: Didier.Remy@inria.fr (Didier Remy)
To: monin@lannion.cnet.fr (Jean-fr MONIN - FT.CNET/LAA/EIA/EVP)
Cc: caml-list@pauillac.inria.fr
Subject: Re: Objective Caml 1.00
Date: Wed, 15 May 1996 19:13:46 +0200 (MET DST) [thread overview]
Message-ID: <199605151713.TAA25279@pauillac.inria.fr> (raw)
In-Reply-To: <9605100813.AA11357@lsun169> from "Jean-fr MONIN - FT.CNET/LAA/EIA/EVP" at May 10, 96 10:13:29 am
> What about the size of the semantics of ocaml ?
Keeping the langage close to Caml has been an important matter in the design
of Objective Caml. Of course, the language is bigger, and unavoidably, its
semanctics is more complicated. We have tried to put into the language the
essential OO-features only, so that the semantics of the language does not
get out of control.
In fact, the core object extension that does not include overriding of
instance variables nor the ability to bind super has a very
simple semantics. Adding those two features, makes the semantics a little
more complicated but not more difficult.
Type inference for Objective Caml is still based on ML polymorphism and first
order unification. Recursive types have been added too, but this is quite
standard. Type coercions are explicit and do not interfere with type
inference; they are based on subtyping without asumptions. This is much
simpler than type inference with type constraints (it is weaker too).
-Didier.
next parent reply other threads:[~1996-05-15 19:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <9605100813.AA11357@lsun169>
1996-05-15 17:13 ` Didier Remy [this message]
[not found] <199605091630.SAA19527@lips.cs.chalmers.se>
1996-05-10 11:43 ` Xavier Leroy
1996-05-09 14:27 Xavier Leroy
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=199605151713.TAA25279@pauillac.inria.fr \
--to=didier.remy@inria.fr \
--cc=caml-list@pauillac.inria.fr \
--cc=monin@lannion.cnet.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