caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: David Brown <caml-list@davidb.org>
To: Christophe Poucet <christophe.poucet@pandora.be>
Cc: CAML <caml-list@inria.fr>
Subject: Re: [Caml-list] Modules
Date: Fri, 9 May 2003 12:58:24 -0700	[thread overview]
Message-ID: <20030509195824.GA6069@opus.davidb.org> (raw)
In-Reply-To: <000a01c31663$8d4fdaa0$e50e76d5@j>

On Fri, May 09, 2003 at 09:45:32PM +0200, Christophe Poucet wrote:

> They look sort of like this:
> (* TigerSymbol.mli file *)
> module type TIGERSYMBOL = 
> sig
> ...
> end
> 
> (* TigerSymbol.ml file *)
> module TigerSymbol : TIGERSYMBOL =
> struct
> ...
> end

The construct you specified above is _implicitly_ wrapped around the
contents of these files.  The files themselves should just contain the
parts given by ...

Also, the filename for TigerSymbol will need to be 'tigerSymbol.mli' and
'tigerSymbol.ml'.  The first letter needs to be made lowercase.

Hope that helps.

Dave Brown

-------------------
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-05-09 19:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-09 19:45 Christophe Poucet
2003-05-09 19:58 ` David Brown [this message]
2006-01-31  9:33 modules Brendan Miller
2006-01-31  9:43 ` [Caml-list] modules Yann Coscoy
2009-11-10  8:13 Modules Wouter Swierstra
2009-11-10  8:31 ` [Caml-list] Modules Pierre-Evariste Dagand
2009-11-10  8:39   ` blue storm
2009-11-10 12:25     ` Wouter Swierstra

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=20030509195824.GA6069@opus.davidb.org \
    --to=caml-list@davidb.org \
    --cc=caml-list@inria.fr \
    --cc=christophe.poucet@pandora.be \
    /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;
as well as URLs for NNTP newsgroup(s).