From: Henri Dubois-Ferriere <henridf@lcavsun1.epfl.ch>
To: caml-list@inria.fr
Subject: [Caml-list] coercing to a #-type
Date: Fri, 5 Dec 2003 12:34:29 +0100 (CET) [thread overview]
Message-ID: <Pine.LNX.4.44.0312051212490.24750-100000@lcmpc4.epfl.ch> (raw)
can coercing an object to a #-type ever change the type of the object?
[i tried to come up with some instance where this would happen, but could
not, and on thinking about it i would guess that since a #-type is 'open',
it makes no sense to coerce to such a type.]
A somewhat related question:
class a = object method bla = 1 end
are the types
#a
and
< bla : int; ..>
equivalent? (in the sense that using on instead of the other will
always give identical results)
Thanks
Henri
-------------------
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
next reply other threads:[~2003-12-05 12:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-05 11:34 Henri Dubois-Ferriere [this message]
2003-12-05 12:57 ` Jacques Garrigue
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=Pine.LNX.4.44.0312051212490.24750-100000@lcmpc4.epfl.ch \
--to=henridf@lcavsun1.epfl.ch \
--cc=caml-list@inria.fr \
--cc=henri.dubois-ferriere@epfl.ch \
/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