Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Operators for Int64 and Int32
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jon Harrop <jon@f...>
Subject: Re: [Caml-list] Operators for Int64 and Int32
On Thursday 03 April 2008 20:50:40 Michał Maciejewski wrote:
> In C you have the same operator '+' for ints and floats. OCaml
> provides you with '+' and '+.' . So why not to have corresponding
> operators for other types?

That solution does not scale because you end up with an enormous number of 
different operators.

-- 
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy.com/products/?e