caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Feature wish: to omit explicit coercion for mli's
@ 2005-11-21  9:35 Keiko Nakata
  2005-11-21  9:46 ` [Caml-list] " Oliver Bandel
  0 siblings, 1 reply; 3+ messages in thread
From: Keiko Nakata @ 2005-11-21  9:35 UTC (permalink / raw)
  To: caml-list

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-11-21 12:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-21  9:35 Feature wish: to omit explicit coercion for mli's Keiko Nakata
2005-11-21  9:46 ` [Caml-list] " Oliver Bandel
2005-11-21 12:55   ` Keiko Nakata

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).