English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] type proofs
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-12-07 (21:28)
From: Charles Martin <joelisp@y...>
Subject: [Caml-list] type proofs
I have the usual kind of type error:

Values do not match:
  val send : ('a, int, 'b) t -> 'a -> int
is not included in
  val send : ('a, 'b, 'c) t -> 'a -> int

Now, this is just the tip of an iceberg that goes very deep.  Does anyone have
a tool somewhere that will print out a more complete type proof?  I could check
such a proof over to find the true mistake.

Failing such a tool, can anyone suggest some power techniques that will speed
up my type debugging?


Do You Yahoo!?
Send your FREE holiday greetings online!
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr