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

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: brogoff@s...
Subject: Re: [Caml-list] Polymorphic methods and ellipsis
On Sun, 22 Sep 2002, Alessandro Baretta wrote:
> Let me suggest another idea where you might better spend 
> your time. I can write
>  > let f x : 'a -> 'a = x

Does this do what you think it does? What is the type of f?

Incidentally, I'd prefer some form of separate, forward type declaration.

-- Brian

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