Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Typechecking madness
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Alex Baretta <alex@b...>
Subject: [Caml-list] Typechecking madness
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