<?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/6bf8a87b5380533fca9209333f36a9c2"
  from="art yerkes &lt;ayerkes@s...&gt;"
  author="art yerkes"
  date="2003-11-22T08:05:32"
  subject="Re: [Caml-list] Wierd???  Doesn&apos;t compile under emacs edit"
  prev="2003/11/6c14c7f915d495d8d5e63b68c0a1fb83"
  next="2003/11/b0824ff17e581379b1c4a9a60ef71fb5"
  prev-in-thread="2003/11/129e434e9f65be9f23d03cd3e04f32ac"
  next-in-thread="2003/11/7735ce1a7b47a13e6b240b569b06e5f7"
  prev-thread="2003/11/f0e367dbb26509392a63add6d275b970"
  next-thread="2003/11/51df69e6560d82f4c9692ae57b6a0125"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] Wierd???  Doesn&apos;t compile under emacs edit">
<msg 
  url="2003/11/129e434e9f65be9f23d03cd3e04f32ac"
  from="chris.danx &lt;chris.danx@n...&gt;"
  author="chris.danx"
  date="2003-11-22T00:48:20"
  subject="[Caml-list] Wierd???  Doesn&apos;t compile under emacs edit">
<msg 
  url="2003/11/6bf8a87b5380533fca9209333f36a9c2"
  from="art yerkes &lt;ayerkes@s...&gt;"
  author="art yerkes"
  date="2003-11-22T08:05:32"
  subject="Re: [Caml-list] Wierd???  Doesn&apos;t compile under emacs edit">
<msg 
  url="2003/11/7735ce1a7b47a13e6b240b569b06e5f7"
  from="chris.danx &lt;chris.danx@n...&gt;"
  author="chris.danx"
  date="2003-11-22T13:54:08"
  subject="Re: [Caml-list] Wierd???  Doesn&apos;t compile under emacs edit">
</msg>
</msg>
</msg>
</thread>

<contents>
On Sat, 22 Nov 2003 00:53:46 +0000
"chris.danx" &lt;chris.danx@ntlworld.com&gt; wrote:

&gt; Hi,
&gt; 
&gt; Does anyone here have trouble compiling files edited in emacs?  I put 
&gt; this in a file, but it gives
&gt; 
&gt; File "nehe_two.ml", line 3, characters 2-15:
&gt; Unbound value GLClear.color
&gt; 
&gt; 
&gt; let init_gL =
&gt;    GlDraw.shade_model `smooth;
&gt;    GLClear.color (0.0, 0.0, 0.0);

Perhaps you mean 'GlClear.color (0.0, 0.0, 0.0) ;'
Capitalization matters in O'Caml.  Identifiers and modules must have
the same capitalization as their definitions, so GLClear and GlClear
don't mean the same thing.

Emacs will create whatever file you type in, including the wrong one.

-- 
"Should array indices start at 0 or 1? My compromise of 0.5 was rejected
 without, I thought, proper consideration."
   - S. Kelly-Bootle

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

