caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Christopher Zimmermann <christopher@gmerlin.de>
To: caml-list@inria.fr
Cc: Malcolm Matalka <mmatalka@gmail.com>
Subject: Re: [Caml-list] 'b t doesn't equal '_b t?
Date: Sun, 24 Jul 2016 21:17:26 +0200	[thread overview]
Message-ID: <20160724211726.71ac2036@mortimer.gmerlin.de> (raw)
In-Reply-To: <86a8h77ziv.fsf@gmail.com>

'_b t is just not polymorphic. It just means the compiler could not yet
figure out the monomorphic type of '_b. It will be bound to a
monomorphic type later on.


On 2016-07-24 Malcolm Matalka <mmatalka@gmail.com> wrote:
> I have the following error and I don't understand what the compiler is
> trying to tell me.  Any hints?
> 
> Error: The implementation abb_fut.ml
>        does not match the interface abb_fut.cmi:
>        Values do not match:
>          val bind : 'a t -> ('a -> '_b t) -> '_b t
>        is not included in
>          val bind : 'a t -> ('a -> 'b t) -> 'b t
>        File "abb_fut.ml", line 118, characters 4-8: Actual declaration
> 



-- 
http://gmerlin.de
OpenPGP: http://gmerlin.de/christopher.pub
2779 7F73 44FD 0736 B67A  C410 69EC 7922 34B4 2566

  reply	other threads:[~2016-07-24 19:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-24 16:48 Malcolm Matalka
2016-07-24 19:17 ` Christopher Zimmermann [this message]
2016-07-25  9:29   ` Malcolm Matalka
2016-07-25  9:36     ` Rodolphe Lepigre
2016-08-08 10:06     ` Goswin von Brederlow
2016-08-08 14:35       ` Malcolm Matalka

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=20160724211726.71ac2036@mortimer.gmerlin.de \
    --to=christopher@gmerlin.de \
    --cc=caml-list@inria.fr \
    --cc=mmatalka@gmail.com \
    /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).