Heinrich Apfelmus <[email protected]> writes: > It appears to me that the concerns of labels and vertexes are not > separate enough. After all, the point is that they have to be kept in > sync. Keeping them in sync should be the business of the graph library, > not of the user. It doesn't have to be baked into the graph type, > though, an abstract Node type might work as well.
An abstract vertex type is orthoganal to the label type (though it took me a while to convince Thomas of that; he wanted to somehow embed the vertex type inside the label :s). -- Ivan Lazar Miljenovic [email protected] IvanMiljenovic.wordpress.com _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
