From: "Tiphaine.Turpin" <Tiphaine.Turpin@free.fr>
To: Berke Durak <berke.durak@exalead.com>
Cc: Caml-list List <caml-list@inria.fr>
Subject: Re: [Caml-list] Objects, dynamic cast, Obj.magic abuse and dragons
Date: Fri, 29 Feb 2008 13:23:13 +0100 [thread overview]
Message-ID: <47C7F931.5080105@free.fr> (raw)
In-Reply-To: <47C7E03A.2000606@exalead.com>
Berke Durak a écrit :
> Tiphaine.Turpin a écrit :
>> Here is another try. it has the drawback that classes need to be
>> parametric, but it seems to work, and to be scalable (the added code
>> is always the same). Of course, some syntactic sugar would help.
>
> That seems to be a very good solution! I didn't think it was possible.
> The classes are parametric but there is only one parameter, right?
Yes (but you may want to add your own parameters for other purposes).
However, since there is a single tag for each classes, if you use a
parameterized class with different arguments in the same context, you
can probably have typing problems...
Tiphaine Turpin
next prev parent reply other threads:[~2008-02-29 12:27 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-26 11:35 Berke Durak
2008-02-26 12:14 ` [Caml-list] " Richard Jones
2008-02-26 14:28 ` Berke Durak
2008-02-26 14:48 ` Richard Jones
2008-02-26 14:59 ` Berke Durak
2008-02-27 13:26 ` Tiphaine.Turpin
2008-02-29 10:36 ` Berke Durak
2008-02-29 12:23 ` Tiphaine.Turpin [this message]
2008-02-26 12:48 ` ketti
2008-02-26 13:10 ` Berke Durak
2008-02-26 15:07 ` Dirk Thierbach
2008-02-26 16:25 ` Berke Durak
2008-02-27 7:37 ` Dirk Thierbach
2008-02-27 10:26 ` Berke Durak
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=47C7F931.5080105@free.fr \
--to=tiphaine.turpin@free.fr \
--cc=berke.durak@exalead.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