From: Keiko Nakata <keiko@kurims.kyoto-u.ac.jp>
To: caml-list@inria.fr
Subject: Feature wish: to omit explicit coercion for mli's
Date: Mon, 21 Nov 2005 18:35:30 +0900 (JST) [thread overview]
Message-ID: <20051121.183530.68544487.keiko@kurims.kyoto-u.ac.jp> (raw)
Hello,
it would be nice if I can omit explicit type coercion
to match .ml files with .mli's.
For instance, the following obj.ml does not match with obj.mli.
in obj.ml:
let o = object method f1 = 1 method f2 = 2 end
in obj.mli:
val o : < f1 : int >
Explicit coercion would make the type system efficient.
However, I suppose that only inferring coercion when checking
that .ml's meet .mli 's does not have much effect.
Regards,
Keiko NAKATA
next reply other threads:[~2005-11-21 9:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-21 9:35 Keiko Nakata [this message]
2005-11-21 9:46 ` [Caml-list] " Oliver Bandel
2005-11-21 12:55 ` Keiko Nakata
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=20051121.183530.68544487.keiko@kurims.kyoto-u.ac.jp \
--to=keiko@kurims.kyoto-u.ac.jp \
--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