caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jocelyn Serot <jserot@epcc.ed.ac.uk>
To: Xavier.Leroy@inria.fr (Xavier Leroy)
Cc: caml-list@margaux.inria.fr
Subject: Re: Yet another question about the module system
Date: Mon, 21 Oct 1996 15:44:25 +0100 (BST)	[thread overview]
Message-ID: <5031.199610211444@tufa.epcc.ed.ac.uk> (raw)
In-Reply-To: <199610211419.QAA11605@pauillac.inria.fr> from "Xavier Leroy" at Oct 21, 96 04:19:18 pm


Ok, i had my both thoughts cleared (thanks to you) and my pb
solved (thanks to F. Rouaix).
The solution seems to write an explicit module type in the
first file :
******* file bar.ml **********
module type BAR = sig type t val x : t end
******************************
and to refer to this signature in the second file:
******* file foo.mli *********
open Bar
module type FOO = sig type t type p val y : t end
module Make(B:BAR) : (FOO with type t = B.t)
******************************

Thanks for your help.

Oh, and "pendant que j'y suis" as we say in french :-) i have
another question:

Is there a way to tell the ocamlopt native compiler to use a
given C compiler after it has been built and installed ? If not,
what is the configuration option to modify in order to specify
such a C compiler (which may be distinct from the compiler used
for building the caml tools) ?

	Jocelyn Serot

-- 
E-mail: jserot@epcc.ed.ac.uk (->29/11) ......................................
S-mail: LASMEA - URA 1793 CNRS, Universite Blaise Pascal, 63177 Aubiere cedex
Tel: (33) 73.40.73.30 - Fax: (33) 73.40.72.62 ...............................
.... http://wwwlasmea.univ-bpclermont.fr/Personnel/Jocelyn.Serot/Welcome.html





      reply	other threads:[~1996-10-22 14:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-10-18  8:41 Jocelyn Serot
1996-10-21 14:19 ` Xavier Leroy
1996-10-21 14:44   ` Jocelyn Serot [this message]

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=5031.199610211444@tufa.epcc.ed.ac.uk \
    --to=jserot@epcc.ed.ac.uk \
    --cc=Xavier.Leroy@inria.fr \
    --cc=caml-list@margaux.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;
as well as URLs for NNTP newsgroup(s).