Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

F# graph library (ocamlgraph like)

Tags:

f#

ocaml

I'm writing a program in ocaml using ocamlgraph and wondering if I am to port it to F# what are my options ? Thanks.

like image 862
romerun Avatar asked Dec 21 '09 12:12

romerun


2 Answers

QuickGraph is one of the most complete graph libraries for .Net

like image 179
Mauricio Scheffer Avatar answered Nov 06 '22 17:11

Mauricio Scheffer


OCamlGraph is a beautiful example of a higher-order module system really paying off. F# cannot express this so a translation will not only be difficult to do at all but the result will be inherently far more cumbersome to use. Your best bet is to reuse some existing graph library for .NET and you'll probably have to settle for far less abstraction.

like image 25
J D Avatar answered Nov 06 '22 15:11

J D