Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] About overloading( + +. and <)
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: temofey <temofey@s...>
Subject: [Caml-list] About overloading( + +. and <)
Hello

In O'Caml not present overloading. Because operators like "plus",
"minus", "divide" and "multiple" is separate for Integers and Float.
For Int they are "+","-","*" and "/", and for Float they are "+.",
"-.", "*." and "/.".
But compare operators like "<", ">" is the same for Integer, Float,
String. Are they overload? Is this contradiction in terms?

-- 
temofey
temofey@sit.kiev.ua


-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr