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 MAA24939; Wed, 17 Sep 2003 12:49:33 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id MAA31125 for ; Wed, 17 Sep 2003 12:49:32 +0200 (MET DST) Received: from relay2.jet.msk.su (relay2.jet.msk.su [62.117.74.154]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h8HAnVT21727 for ; Wed, 17 Sep 2003 12:49:31 +0200 (MET DST) Received: from uucp by relay2.jet.msk.su with spam-scanned (Exim 4.02) id 19zZsG-0003F7-00 for caml-list@inria.fr; Wed, 17 Sep 2003 14:49:28 +0400 Received: from tiger ([193.124.4.1] helo=tiger.jet.msk.su) by relay2.jet.msk.su with smtp (Exim 4.02) id 19zZsA-0003Em-00; Wed, 17 Sep 2003 14:49:22 +0400 Received: from gshost.service.jet.msk.su [192.168.10.72] by tiger.jet.msk.su with esmtp (Exim 1.73 #2) id 19zZs9-00039r-00; Wed, 17 Sep 2003 14:49:21 +0400 Message-ID: <3F683CDE.70909@jet.msk.su> Date: Wed, 17 Sep 2003 14:52:14 +0400 From: "Gleb N. Semenov" Reply-To: semenov@jet.msk.su, gleb@ahome.ru Organization: Jet Infosystems User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030714 Debian/1.4-2 X-Accept-Language: ru, en-us, fr-fr MIME-Version: 1.0 To: Henri DF CC: caml-list@inria.fr Subject: Re: [Caml-list] Graphmanipulation in Ocaml References: In-Reply-To: Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-3.5 required=7.5 tests=BAYES_20,EMAIL_ATTRIBUTION,IN_REP_TO,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_MOZILLA_UA version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) X-Loop: caml-list@inria.fr X-Spam: no; 0.00; gleb:01 jet:99 caml-list:01 henridf:01 lcavsun:01 non-trivial:01 smlnj:01 ocaml':01 absense:01 smlnj:01 arne:01 koewing:01 arne:01 powerfull:01 caml-list:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk henridf@lcavsun1.epfl.ch wrote: >judging by the interface and docs, it looks pretty nice. >i would be glad to have this in caml. > >i still would like to browse the code before deciding, but i am quite >tempted to take this on as a little project. > >does anyone have experience porting sml code to caml? i would expect >everything is fairly mechanic, or can there be differences which require >non-trivial effort to resolve? > The main problem will be to 'translate' code structure from SMLNJ module system to Ocaml' modules and classes. The library as You can see is written in OO-style but whithout classes (due to the absense of classes in SML :)) ). So the main problem is usual -- code stucture and the general design. The rest -- is mechanical coding:) Somewere in documentation for SMLNJ(if my mind does non fail me) I have founded the description of the differences between SML and OCaml.The most of them are concerning the syntax. > >thanks >henri > > > > >>Arne Koewing wrote: >> >> >>>Hi! >>> >>>I am looking for an library for graph-manipulation/handling. >>>Do you know any implementations for ocaml? >>> >>>thx, >>>Arne >>> >>> >>> >>I have seen the very powerfull graph library in MLRISC package which is >>included to New Jersey SML distribution (SMLNJ). MLRISC is a big and >>quite universal set of libraries for building SML compilers for RISC >>architectures. >> >>For the first look, the graph library is quite usefull and >>clear('understandable' :)), >>but it is written in SML. It is not very hard to rewrite it in OCaml >>language. >>If this project will start, You may consider me as a participant. But I >>have not much >>time for such work(for me this work will be the 'fun-project'). >>Let You look at MLRISC graph library and give Your opinion about the >>library >>and about the possibility of using it in Your tasks :) >> >>The second variant. You may search caml-list for 'graph'. Some times ago >>it was >>small discussion there about exactly the same problem. You may find some >>links to less powerfull and universal graph libraries but written in >>ocaml. >> Regards! GNS -- Gleb N. Semenov | 127015, Bol.Novodmitrovskaya St 14-1, Moscow, Russia Security Specialist | Phone: +7(095)411-7601 Fax: +7(095)411-7602 Jet Infosystems | E-mail: semenov@jet.msk.su ------------------- 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