caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: james woodyatt <jhw@wetware.com>
To: Didier.Remy@inria.fr
Cc: The Trade <caml-list@inria.fr>
Subject: Re: [Caml-list] functional objects
Date: Mon, 21 Oct 2002 11:40:45 -0700	[thread overview]
Message-ID: <9C142CDC-E524-11D6-8FFC-000393BA7EBA@wetware.com> (raw)
In-Reply-To: <20021021085502.A9551@morgon.inria.fr>

On Sunday, Oct 20, 2002, at 23:55 US/Pacific, Didier Remy wrote:
> [I wrote:]
>> What would that look like in the multiple inheritance case?
>
> Have you really tried this exercise yourself before asking for help?

I'm very sorry.  Sincere apologies.

I mistakenly assumed, since the documentation does not explicitly say 
that the inherit clause defines a constructor method named after the 
superclass, that your examples would not compile.  Surprisingly, they 
actually do in ocaml-3.06.  It's not the most pleasant syntax I could 
imagine, but I'm very pleased to see that it's already possible to do 
what I want.

I have a suspicion, though, that the implementation makes a lot of 
temporary copies in this process.  Is that so?

Oh, never mind.  I'll find out for myself.  Thanks for all your help.


-- 
j h woodyatt <jhw@wetware.com>
markets are only free to the people who own them.

-------------------
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-10-21 18:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-19  0:54 james woodyatt
2002-10-19 20:48 ` Didier Remy
2002-10-21  4:10   ` james woodyatt
2002-10-21  6:55     ` Didier Remy
2002-10-21 18:40       ` james woodyatt [this message]
2002-10-22  8:42         ` Didier Remy

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=9C142CDC-E524-11D6-8FFC-000393BA7EBA@wetware.com \
    --to=jhw@wetware.com \
    --cc=Didier.Remy@inria.fr \
    --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;
as well as URLs for NNTP newsgroup(s).