Version française
Home     About     Download     Resources     Contact us    
Browse thread
V.null in ocamlgraph
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Alexy Khrabrov <deliverable@g...>
Subject: V.null in ocamlgraph
In some folds over data when creating ocmalgraph's, I'd need an empty  
vertex value, something like V.null, to give to an edge-creating fold  
when I know it's not going to be used.  Currently I have to look ahead  
into the data.  Does it make sense to add a null value to the V  
module, or is there another OCaml way to give a fold an empty V value?

Cheers,
Alexy