[Haskell-cafe] Re: What do _you_ want to see in FGL?
Ivan Lazar Miljenovic
ivan.miljenovic at gmail.com
Wed May 12 06:16:51 EDT 2010
Heinrich Apfelmus <apfelmus at quantentunnel.de> 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
Ivan.Miljenovic at gmail.com
IvanMiljenovic.wordpress.com
More information about the Haskell-Cafe
mailing list