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] Observations on OCaml vs. Haskell
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-09-28 (18:06)
From: Jon Harrop <jon@j...>
Subject: Re: [Caml-list] Observations on OCaml vs. Haskell
On Tuesday 28 September 2004 08:22, Ville-Pertti Keinonen wrote:
> I'm fairly certain that type safety is a significant part of the reason;
> if they were polymorphic, they'd accept any kind of arguments, not just
> numbers.  What's the product of two strings?  A run-time type error?

It seems odd then, that the polymorphic comparisons do raise run-time type 
errors (on functions). I guess that's just the way the cookie crumbled...

I think a static analysis program to pick up on such problems could be very 


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