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

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: David Baelde <David.Baelde@e...>
Subject: Re: [Caml-list] inference engine

 
 What would mean [> int] & 'a ? Which types belong to this one ?
 For me, the [<> ...] notion has a only meaning for objects.

 Actually, I don't understand very well your example, since
 the constraint on x is not a good thing in ocaml (not necessary)
 and if you remove it, "f x = x" allows polymorphism.

 Could you explain us again your idea ?
--
 David

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