caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* What does underscore mean in this type expression?
@ 2008-08-30 11:27 Richard Jones
  2008-08-30 11:38 ` [Caml-list] " Christophe TROESTLER
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Jones @ 2008-08-30 11:27 UTC (permalink / raw)
  To: caml-list

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-08-30 19:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-30 11:27 What does underscore mean in this type expression? Richard Jones
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

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).