Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] C++ STL and template features compared with OCaml parametric polymorphism and OO features
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: skaller <skaller@u...>
Subject: Re: [Caml-list] Factoring HOFs [was Re: C++ STL...]
On Thu, 2004-09-30 at 20:13, Keith Wansbrough wrote:

> but OCaml doesn't allow nested quantifiers (i.e., higher-rank
> polymorphism).
> It actually wouldn't be very hard to support, if you're prepared to
> accept the need for the occasional type annotation

I doubt there is a problem with that. I use polymorphic 
variants and occasionally you need not just annotations,
but to actually write full coercions. This is a small
price to pay.

John Skaller,
voice: 061-2-9660-0850, 
snail: PO BOX 401 Glebe NSW 2037 Australia
Checkout the Felix programming language

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: