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] Why are arithmetic functions not polymorph?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: hermanns <jan_hermanns@g...>
Subject: [Caml-list] Why are arithmetic functions not polymorph?

I'm new to OCaml, so I hope my question is not to stupid.

Can anybody explain to me why the arithmetic functions ('+', '-', ...) 
are not polymorph
(in the sense that they have floating point equivalents '+.', '-.', 
I don't understand this, because comparison funtions ('<', '>', ...) 
are polymorph.
So, where is the problem with arithmetic functions?

regards, Jan

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