<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2003/11/db0b7771330fb626e89501442c3c06f5"
  from="Issac Trotts &lt;ijtrotts@n...&gt;"
  author="Issac Trotts"
  date="2003-11-13T21:30:31"
  subject="Re: [Caml-list] type issues with modules"
  prev="2003/11/7346e7f962264608c3236055c3d16d75"
  next="2003/11/3f569e7c0ae6343b3f1d7e892dcba645"
  prev-in-thread="2003/11/a493c676415d2097c4bf8c63da328c5c"
  prev-thread="2003/11/aec9ff3da1a5c8e937e938441c778914"
  next-thread="2003/11/e506f6dcbfdcb3186798daea27c0bc18"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] type issues with modules">
<msg 
  url="2003/11/6c7eeee8f6105aa3a5ef377169475e2c"
  from="Chris GauthierDickey &lt;chrisg@c...&gt;"
  author="Chris GauthierDickey"
  date="2003-11-11T05:34:02"
  subject="[Caml-list] type issues with modules">
<msg 
  url="2003/11/4ae1225ca603ad7ed2d2972c89a080a0"
  from="Jacques Garrigue &lt;garrigue@k...&gt;"
  author="Jacques Garrigue"
  date="2003-11-11T08:21:56"
  subject="Re: [Caml-list] type issues with modules">
<msg 
  url="2003/11/65633c1752df3e2bba3cd125d0cb4054"
  from="Damien &lt;Damien.Pous@e...&gt;"
  author="Damien"
  date="2003-11-11T17:24:00"
  subject="Re: [Caml-list] type issues with modules">
<msg 
  url="2003/11/d0eed6c769ba31ae73ab39ba3e7c5d4f"
  from="Jacques Garrigue &lt;garrigue@k...&gt;"
  author="Jacques Garrigue"
  date="2003-11-12T01:12:24"
  subject="Re: [Caml-list] type issues with modules">
<msg 
  url="2003/11/a493c676415d2097c4bf8c63da328c5c"
  from="Remi Vanicat &lt;vanicat@l...&gt;"
  author="Remi Vanicat"
  date="2003-11-12T12:50:56"
  subject="Re: [Caml-list] type issues with modules">
</msg>
<msg 
  url="2003/11/db0b7771330fb626e89501442c3c06f5"
  from="Issac Trotts &lt;ijtrotts@n...&gt;"
  author="Issac Trotts"
  date="2003-11-13T21:30:31"
  subject="Re: [Caml-list] type issues with modules">
</msg>
</msg>
</msg>
</msg>
</msg>
</thread>

<contents>
On Wed, Nov 12, 2003 at 10:12:11AM +0900, Jacques Garrigue wrote:
&gt; From: Damien &lt;Damien.Pous@ens-lyon.fr&gt;
&gt; 
&gt; &gt; But I think that giving a name to the signature of Mod1 (Sig_mod1) could
&gt; &gt; be useful :
&gt; &gt; 
&gt; &gt; &lt;&lt;
&gt; &gt; 	module type MOD1 : sig &lt;mod1.mli&gt; end
&gt; &gt; 	module Mod1 : MOD1 = struct &lt;mod1.ml&gt; end
&gt; &gt; &gt;&gt;
&gt; &gt; 
&gt; &gt; Especially when hand-packing some modules : 
&gt; &gt; "ocamlc -pack" checks the packed cmo against an optional interface file,
&gt; &gt; but the latter is rather boring to write, since one has to copy&amp;paste
&gt; &gt; the content of each packed interface.
&gt; 
&gt; I have already suggested in the past
&gt; 
&gt;   module type Mod1 = sig &lt;mod1.mli&gt; end
&gt;   module Mod1 : Mod1 = struct &lt;mod1.ml&gt; end
&gt; 
&gt; since modules and module types have independent name spaces.
&gt; But it was not accepted.
&gt; Maybe if more people insist, it will be added some day...

I too would like to see this added.  Out of curiousity, why was it 
rejected?

-- 
Issac Trotts
Programmer
Center for Neuroscience
University of California, Davis 

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

</contents>

</message>

