caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Pierre Chopin <pierrchp@free.fr>
To: Walter Cazzola <cazzola@dico.unimi.it>
Cc: OCaML Mailing List <caml-list@inria.fr>
Subject: Re: [Caml-list] still silly issues on polymorphic types
Date: Tue, 27 Sep 2011 15:45:51 -0400	[thread overview]
Message-ID: <091F94EF-9F08-41E2-8AD7-415548045A72@free.fr> (raw)
In-Reply-To: <alpine.LFD.2.00.1109271554420.8918@surtur.dico.unimi.it>

[-- Attachment #1: Type: text/plain, Size: 914 bytes --]


Le 27 sept. 2011 à 09:58, Walter Cazzola a écrit :

> On Tue, 27 Sep 2011, Jacques Garrigue wrote:
> 
> uhm, I've tried to follow your advice but the problem persists (attached
> the new version) when I try to apply the functor I get the following
> error:
> 
> # module M1 = Continuation(Sum) ;;
> Error: Signature mismatch:
>       Modules do not match:
>         sig
>           type a = int
>           and b = int
>           and c = int
>           val op : int -> int -> int
>           val init : int
>         end
>       is not included in
>         OpVarADT.OpVarADT
>       Values do not match:
>         val op : int -> int -> int
>       is not included in
>         val op : 'a -> 'b -> 'c
> 


Compiled successfully the code that was attached, looks somehow you have an old version of OPVarADT being used. 
Try to delete cmo/cmi files and recompile.

-Pierre




[-- Attachment #2: Type: text/html, Size: 1900 bytes --]

  reply	other threads:[~2011-09-27 19:46 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-27 11:46 Walter Cazzola
2011-09-27 12:57 ` Christophe Papazian
2011-09-27 13:49   ` Walter Cazzola
2011-09-27 15:26     ` Christophe Papazian
2011-09-27 18:43       ` Walter Cazzola
2011-09-27 19:25         ` Thibault Suzanne
2011-09-27 13:16 ` Jacques Garrigue
2011-09-27 13:58   ` Walter Cazzola
2011-09-27 19:45     ` Pierre Chopin [this message]
2011-09-27 20:22       ` Walter Cazzola
2011-09-27 23:58         ` Jacques Garrigue
     [not found]         ` <266E7048-C3BB-4B9E-9760-9D52993A1C86@math.nagoya-u.ac.jp>
2011-09-29 10:27           ` Walter Cazzola

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=091F94EF-9F08-41E2-8AD7-415548045A72@free.fr \
    --to=pierrchp@free.fr \
    --cc=caml-list@inria.fr \
    --cc=cazzola@dico.unimi.it \
    /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).