From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id SAA15750; Thu, 21 Aug 2003 18:58:38 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id SAA20235 for ; Thu, 21 Aug 2003 18:58:36 +0200 (MET DST) Received: from nexus.stwing.upenn.edu (NEXUS.STWING.UPENN.EDU [165.123.132.61]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h7LGwZf01537 for ; Thu, 21 Aug 2003 18:58:35 +0200 (MET DST) Received: from force.stwing.upenn.edu (root@force.stwing.upenn.edu [165.123.132.65]) by nexus.stwing.upenn.edu (8.12.9/8.12.9) with ESMTP id h7LGwYlI013871 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 21 Aug 2003 12:58:34 -0400 (EDT) Received: from force.stwing.upenn.edu (wlovas@[127.0.0.1]) by force.stwing.upenn.edu (8.12.9/8.12.9) with ESMTP id h7LGwX4Q006319 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 21 Aug 2003 12:58:33 -0400 (EDT) Received: (from wlovas@localhost) by force.stwing.upenn.edu (8.12.9/8.12.9/Submit) id h7LGwXqK006317 for caml-list@inria.fr; Thu, 21 Aug 2003 12:58:33 -0400 (EDT) Date: Thu, 21 Aug 2003 12:58:32 -0400 From: William Lovas To: caml-list@inria.fr Subject: Re: [Caml-list] hash objectified Message-ID: <20030821165832.GA5890@force.stwing.upenn.edu> Mail-Followup-To: caml-list@inria.fr References: <20030812193144.GA17371@mlabdial.hit.bme.hu> <20030818145056.A22575@pauillac.inria.fr> <20030818144055.GA16027@force.stwing.upenn.edu> <20030821102458.GB2568@mlabdial.hit.bme.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030821102458.GB2568@mlabdial.hit.bme.hu> User-Agent: Mutt/1.5.4i X-Loop: caml-list@inria.fr X-Spam: no; 0.00; lovas:01 wlovas:01 stwing:01 caml-list:01 hash:01 kontra:01 gergely:01 subtyping:01 java's:01 library's:01 ocaml:01 caml:01 0200,:01 objects:02 o'caml:02 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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? William ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners