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 (01:57)
From: skaller <skaller@u...>
Subject: Re: [Caml-list] Observations on OCaml vs. Haskell
On Tue, 2004-09-28 at 06:24, Rafael 'Dido' Sevilla wrote:
> On Mon, Sep 27, 2004 at 02:08:51PM -0500, John Goerzen wrote:

> Performance again.  The reason why there are so many numeric types in
> OCaml is performance.  

Also it is related to compatibility with external libraries.

> The compiler could very easily make the arithmetic operators polymorphic,
> and constrain the operands to be of the same (numeric) type

G'Caml generics would handle this easily, without 
need to 'kludge' the Ocaml compiler. 

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: