<?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/01/7a41ba7170d9a763c7f88f79fb4881a5"
  from="Jacques Garrigue &lt;garrigue@k...&gt;"
  author="Jacques Garrigue"
  date="2003-01-21T23:51:55"
  subject="Re: [Caml-list] Strange error message"
  prev="2003/01/b0cc1fe837514fbfc9cf209458fc068a"
  next="2003/01/f781fbd10809682f5020b87923bff572"
  prev-in-thread="2003/01/57f5f6f8ac7bddc869e7d2bd5e50c2e4"
  prev-thread="2003/01/7b6361f24dd6b0d3f8de50aee87acff6"
  next-thread="2003/01/7d4610f16e08aad0001774d1862258d2"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] Strange error message">
<msg 
  url="2003/01/b5d0186ce6e333fe2b6c01d25588830a"
  from="Vitaly Lugovsky &lt;vsl@o...&gt;"
  author="Vitaly Lugovsky"
  date="2003-01-15T19:49:09"
  subject="[Caml-list] Strange error message">
<msg 
  url="2003/01/a6f0e4e775028532c6a8a3ff6ca311c5"
  from="Jacques Garrigue &lt;garrigue@k...&gt;"
  author="Jacques Garrigue"
  date="2003-01-16T07:48:54"
  subject="Re: [Caml-list] Strange error message">
<msg 
  url="2003/01/a6973f232dbfe83b1da64912a6a4daf4"
  from="Pierre Weis &lt;pierre.weis@i...&gt;"
  author="Pierre Weis"
  date="2003-01-19T14:53:05"
  subject="Re: [Caml-list] Strange error message">
<msg 
  url="2003/01/7656f8fc578c270bba4bb9544ed16b3f"
  from="Vitaly Lugovsky &lt;vsl@o...&gt;"
  author="Vitaly Lugovsky"
  date="2003-01-20T14:17:57"
  subject="Re: [Caml-list] Strange error message">
<msg 
  url="2003/01/57f5f6f8ac7bddc869e7d2bd5e50c2e4"
  from="Pierre Weis &lt;pierre.weis@i...&gt;"
  author="Pierre Weis"
  date="2003-01-20T16:06:45"
  subject="Re: [Caml-list] Strange error message">
</msg>
<msg 
  url="2003/01/7a41ba7170d9a763c7f88f79fb4881a5"
  from="Jacques Garrigue &lt;garrigue@k...&gt;"
  author="Jacques Garrigue"
  date="2003-01-21T23:51:55"
  subject="Re: [Caml-list] Strange error message">
</msg>
</msg>
</msg>
</msg>
</msg>
</thread>

<contents>
From: Vitaly Lugovsky &lt;vsl@ontil.ihep.su&gt;
&gt; &gt; In particular, I think that the question ``What means '_a ?''
&gt; &gt; from the
&gt; &gt; "EXPERT" FAQ could be relevant to your problem :)
&gt; 
&gt;  No. Sorry. I still don't understand. Why there is a *wrong* type
&gt; specification in .cmi? If it's '_a, why it's 'a in .cmi?

Did you read my answer?
http://caml.inria.fr/archives/200301/msg00120.html

What I believe is happening is that, the way you define it, execute
cannot be given a polymorphic type. This has become more confused
because you wrote a .mli.  Just erase the .mli (or get it out of the
way) and compile lisp.ml. You should get a "this type variable is not
bound" error, which is what Pierre Weis is referring to.

Also note that '_a is only meaningful in output from the compiler.
If you write it in a .mli it will only be interpreted as a normal type
variable, in particular _it cannot match a non-generalizable one_
(only a closed type can).

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

