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] 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: 2008-04-03 (22:31)
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.