I used to Data.Graph in &#39;ad&#39;, before we hand-rolled an topSort for our particular acyclic case in response to it running out of stack space on large graphs.<div><br></div><div>w.r.t. the original question, I think the behavior of Graph equality is correct given the model used. There are observable differences between the two graphs, even though the strict traditional notion of a graph doesn&#39;t distinguish on the ordering of the successors of a field, the structure used by Graph does and cannot sensibly be made not to without sacrificing performance needlessly for the vast majority of users. There are other observable differences, e.g. changing array bounds that can affect equality as well.</div>
<div><br></div><div>-Edward<br><br><div class="gmail_quote">On Mon, Sep 3, 2012 at 5:11 AM, Mikhail Glushenkov <span dir="ltr">&lt;<a href="mailto:the.dead.shall.rise@gmail.com" target="_blank">the.dead.shall.rise@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">Milan Straka &lt;fox &lt;at&gt; <a href="http://ucw.cz" target="_blank">ucw.cz</a>&gt; writes:<br>
<br>
&gt;<br>
&gt; As far as I know, Data.Graph has not been given any attention in quite<br>
&gt; some time. I do not know whether someone is using it.<br>
<br>
</div>Cabal uses Data.Graph to represent the package dependency graph.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
_______________________________________________<br>
Libraries mailing list<br>
<a href="mailto:Libraries@haskell.org">Libraries@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/libraries" target="_blank">http://www.haskell.org/mailman/listinfo/libraries</a><br>
</div></div></blockquote></div><br></div>