Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Jerome Vouillon <Jerome.Vouillon@inria.fr>
To: Sylvain <Sylvain.Baro@lip6.fr>, caml-list@inria.fr
Subject: Re: Typing question
Date: Thu, 28 Oct 1999 20:15:00 +0200	[thread overview]
Message-ID: <19991028201500.62852@pauillac.inria.fr> (raw)
In-Reply-To: <Pine.LNX.4.04.9910251706200.10582-100000@samael.ufr-info-p6.jussieu.fr>; from Sylvain on Mon, Oct 25, 1999 at 05:07:58PM +0200


Hello,

On Mon, Oct 25, 1999 at 05:07:58PM +0200, Sylvain wrote:
> I tried to compile this file "foobar.ml" issuing 
> 
> ocamlc -c -i foobar.ml > foobar.mli
> ocamlc -c -i foobar.mli
> ocamlc -c foobar.ml
> 
> But at the third stage of the process, it answers me that the
> implementation doesn't match the interface ...

The type of a class in not always printed correctly.
In your case, the type of the first class should be :
    class nameTable :
      'a ->
      object
        constraint 'a = #answerToIsNewName
        val fatherContext : 'a
        val table : (string, nameInfo) Hashtbl.t
        method addName : string -> nameType -> unit
        method delName : string -> unit
        method isNewName : string -> bool
        method newName : nameType -> string
      end

-- Jérôme




  parent reply	other threads:[~1999-10-28 20:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-25 15:07 Sylvain
1999-10-26  8:02 ` Sven LUTHER
1999-10-26 10:35   ` Sylvain
1999-10-26 18:16 ` skaller
1999-10-28 18:15 ` Jerome Vouillon [this message]
2007-04-24 18:14 typing question micha

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=19991028201500.62852@pauillac.inria.fr \
    --to=jerome.vouillon@inria.fr \
    --cc=Sylvain.Baro@lip6.fr \
    --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