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] Graphmanipulation in Ocaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Gleb N. Semenov <semenov@j...>
Subject: Re: [Caml-list] Graphmanipulation in Ocaml 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.

>>Arne Koewing wrote:
>>>I am looking for an library for graph-manipulation/handling.
>>>Do you know any implementations for ocaml?
>>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
>>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
>>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
>>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


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:

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