Reputation: 2211
I'm writing a program in ocaml using ocamlgraph and wondering if I am to port it to F# what are my options ? Thanks.
Upvotes: 8
Views: 2248
Reputation: 48687
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.
Upvotes: 5
Reputation: 99720
QuickGraph is one of the most complete graph libraries for .Net
Upvotes: 9