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] hash objectified
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: William Lovas <wlovas@s...>
Subject: Re: [Caml-list] hash objectified
On Thu, Aug 21, 2003 at 12:24:58PM +0200, KONTRA Gergely wrote:
> Yes, you're right, thank you. Will ocaml have this in the standard
> library?
> [...]
> If caml is objective, it has to support object-oriented programming...

Well, O'Caml supports the use of objects and classes in those instances
where subtyping or multiple implementations are necessary.  For O'Caml to
"support object-oriented programming", it is not necessary that every data
structure and module also be encapsulated in some class.

There's no need for everything to be an object, and i don't really see
what that would buy you in the long run, since O'Caml doesn't have any
"top" or "top-like" type, like Java's Object.  Why do you want the standard
library's functionality replicated in object form?


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