Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: art yerkes <ayerkes@speakeasy.net>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Wierd???  Doesn't compile under emacs edit
Date: Sat, 22 Nov 2003 02:19:41 -0600	[thread overview]
Message-ID: <20031122021941.55625460.ayerkes@speakeasy.net> (raw)
In-Reply-To: <3FBEB39A.5020604@ntlworld.com>

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

> Hi,
> 
> Does anyone here have trouble compiling files edited in emacs?  I put 
> this in a file, but it gives
> 
> File "nehe_two.ml", line 3, characters 2-15:
> Unbound value GLClear.color
> 
> 
> let init_gL =
>    GlDraw.shade_model `smooth;
>    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


  reply	other threads:[~2003-11-22  8:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-22  0:53 chris.danx
2003-11-22  8:19 ` art yerkes [this message]
2003-11-22 13:59   ` chris.danx

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=20031122021941.55625460.ayerkes@speakeasy.net \
    --to=ayerkes@speakeasy.net \
    --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