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] Understanding why Ocaml doesn't support operator overloading.
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-11-28 (21:27)
From: Jørgen Hermanrud Fjeld <jhf@h...>
Subject: Re: [Caml-list] Understanding why Ocaml doesn't support operator overloading.
Hash: SHA1

Hi again.
Now I found a previous thread about this
I still don't understand why overloading isn't doable, (not only operator 
And I wondered if any projects work on this?

On torsdag 28 november 2002, 22:02, Jørgen Hermanrud Fjeld wrote:
> Hi.
> Some time ago, when looking at Ocaml for the first time, I got baffled by
> the lack of operator overloading. I am still wondering why this is the
> case. Could someone please point me to more information about this?
> I remember reading something about operator overloading and type inference
> beeing hard to combine. A little googleing brought me, amongst many things,
> what seems to be a paper about the subject:
> ""
> (No I haven't read the paper yet, but it seemed ontopic)

- -- 
Sincerely | Homepage:
Jørgen    |
          | Public GPG key:

There are three schools of magic.  One:  State a tautology, then ring the
changes on its corollaries; that's philosophy.  Two:  Record many facts.
Try to find a pattern.  Then make a wrong guess at the next fact; that's
science.  Three:  Be aware that you live in a malevolent Universe controlled
by Murphy's Law, sometimes offset by Brewster's Factor; that's engineering.

Version: GnuPG v1.2.1 (GNU/Linux)


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