Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Alessandro Baretta <alex@baretta.com>
To: Ocaml <caml-list@inria.fr>
Subject: Re: [Caml-list] Allow declaring classes "final" so self type has no type variables?
Date: Fri, 06 Sep 2002 22:38:55 +0200	[thread overview]
Message-ID: <3D79125F.1090005@baretta.com> (raw)
In-Reply-To: <C79C09FF-C1D5-11D6-8D7B-000393BA7EBA@wetware.com>



james woodyatt wrote:
> On Friday, Sep 6, 2002, at 12:12 US/Pacific, Tim Freeman wrote:
> 
>>
>> Any comments on whether this is a good idea?
> 
> 
> Hide the class with a module signature.  Publish only the class type and 
> one or more functions for constructing objects.

I don't think this is what he meant. I think he would like 
to "finalize" a class for efficiency purposes as opposed to 
"safety" purposes. He is asking for some compiler magic.

Alex

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


  reply	other threads:[~2002-09-06 20:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-06 19:12 Tim Freeman
2002-09-06 20:18 ` james woodyatt
2002-09-06 20:38   ` Alessandro Baretta [this message]
2002-09-06 21:15     ` james woodyatt
2002-09-11  0:16       ` Tim Freeman
2002-09-11  5:09         ` james woodyatt

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=3D79125F.1090005@baretta.com \
    --to=alex@baretta.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