caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Christian Lindig <lindig@eecs.harvard.edu>
To: Caml Mailing List <caml-list@inria.fr>
Subject: mysterious signature mismatch
Date: Wed, 15 Nov 2000 10:33:59 -0500	[thread overview]
Message-ID: <20001115103359.C13992@lakeland.eecs.harvard.edu> (raw)


The following code is rejected by the compiler with a signature
mismatch error.  However, the signature below is the same the one
inferred by the compiler.  Bug or feature?

    module type A =
      sig
        type 'int width = 'int
        type 'int bits = 'int * 'int width
      end

    module Aa:A =
      struct
        type 'int width = 'int
        type 'int bits = 'int * 'int width
      end

    Signature mismatch: [..] Type declarations do not match:
    type 'a bits = 'a * 'a width is not included in
    type 'a bits = 'a * 'a width
  
-- Christian

-- 
Christian Lindig          Harvard University - DEAS
lindig@eecs.harvard.edu   33 Oxford St, MD 242, Cambridge MA 02138
phone: +1 (617) 496-7157  http://www.eecs.harvard.edu/~lindig/



             reply	other threads:[~2000-11-15 21:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-15 15:33 Christian Lindig [this message]
2000-11-23 13:11 ` Xavier Leroy

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=20001115103359.C13992@lakeland.eecs.harvard.edu \
    --to=lindig@eecs.harvard.edu \
    --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;
as well as URLs for NNTP newsgroup(s).