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 QAA03178; Mon, 26 Aug 2002 16:01:43 +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 QAA03024 for ; Mon, 26 Aug 2002 16:01:42 +0200 (MET DST) Received: from mlabdial.hit.bme.hu (mlabdial.hit.bme.hu [152.66.248.201]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g7QE1f924753; Mon, 26 Aug 2002 16:01:41 +0200 (MET DST) Received: from localhost (kgergely@localhost) by mlabdial.hit.bme.hu (8.11.6/8.11.6) with ESMTP id g7QE1et21528; Mon, 26 Aug 2002 16:01:40 +0200 Date: Mon, 26 Aug 2002 16:01:40 +0200 (CEST) From: "Kontra, Gergely" To: Maxence Guesdon cc: caml-list@inria.fr Subject: Re: [Caml-list] OO syntax In-Reply-To: <20020821192844.4b475231.maxence.guesdon@inria.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk >> Hi all! >> >> Is there a reason one couldn't directly write >> >> let l = [1;2;3];; >> >> l#length >> >> I miss these OO-like stuff in the language. >Jacques Garrigue wrote a libray which maps some standard modules >in a OO way. There is no OO list yet, though, but there are already >sets, hashtables, stacks, queues and more. >Check it out: >http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/classes/ Thanks. Will it be the part of the language anyway, or OO will stay just an add-on? If it cost nothing (I think so, it does only cost in a little compile time. Am I right?), I think it would be a nice feature. Anyway I like the way Ruby deals with objects (and it has also nice libraries). Gergo +-[Kontra, Gergely @ Budapest University of Technology and Economics]-+ | Email: kgergely@mcl.hu, kgergely@turul.eet.bme.hu | | URL: turul.eet.bme.hu/~kgergely Mobile: (+36 20) 356 9656 | +-------"Olyan langesz vagyok, hogy poroltoval kellene jarnom!"-------+ . Magyar php mirror es magyar php dokumentacio: http://hu.php.net ------------------- 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