caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Typechecking madness
@ 2004-03-01 14:18 Alex Baretta
  2004-03-03  8:16 ` Jacques Garrigue
  0 siblings, 1 reply; 4+ messages in thread
From: Alex Baretta @ 2004-03-01 14:18 UTC (permalink / raw)
  To: Ocaml

I'm sure the typechecker knows what he's doing, but the following error 
message does look strange.

This expression has type
   'a. (('a Pxp_document.node #Pxp_document.extension as 'a) -> unit) -> 
unit
but is here used with type
   'b. (('b Pxp_document.node #Pxp_document.extension as 'b) -> unit) -> 
unit

Is this due to the two '#' signs on Pxp_document.extension, yielding two 
different ellipsis type variables?

Alex

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


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

end of thread, other threads:[~2004-03-04 11:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-01 14:18 [Caml-list] Typechecking madness Alex Baretta
2004-03-03  8:16 ` Jacques Garrigue
2004-03-03 15:19   ` Mikael Brockman
2004-03-04 11:48     ` Alex Baretta

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