caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Richard Jones <rich@annexia.org>
To: caml-list@inria.fr
Subject: What does underscore mean in this type expression?
Date: Sat, 30 Aug 2008 12:27:18 +0100	[thread overview]
Message-ID: <20080830112718.GA25303@annexia.org> (raw)

I'm seeing this type error.  Notice the difference is a lowly
underscore character.

  The implementation libvirt.ml does not match the interface libvirt.cmi:
  Values do not match:
    val get_domains :
      (_[> `R ] as 'a) Connect.t ->
      ?want_info:bool ->
      Domain.list_flag list -> 'a Domain.t list * Domain.info list
  is not included in
    val get_domains :
      ([> `R ] as 'a) Connect.t ->
      ?want_info:bool ->
      Domain.list_flag list -> 'a Domain.t list * Domain.info list

This syntax doesn't appear to be documented in the manual (unless it's
related to '_a).  What does it mean?

I can supply some reproducer code if needed, but the code is rather
long at the moment.

Rich.

-- 
Richard Jones
Red Hat


             reply	other threads:[~2008-08-30 11:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-30 11:27 Richard Jones [this message]
2008-08-30 11:38 ` [Caml-list] " Christophe TROESTLER
2008-08-30 13:03   ` Richard Jones
2008-08-30 13:57     ` Christophe TROESTLER
2008-08-30 19:29       ` Richard Jones

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=20080830112718.GA25303@annexia.org \
    --to=rich@annexia.org \
    --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).