GHC: Ticket #1266: Make Data.Graph.Inductive.NodeMap handle slightly messy input without crashing
http://ghc.haskell.org/trac/ghc/ticket/1266
<p>
Using the current version of Data.Graph.Inductive casually is unnecessarily difficult because if you insert a node that's already present in the graph, or try to insert an edge with an endpoint that's not already in the graph, the library crashes. For the raw graph operations that's somewhat reasonable since it wouldn't know what labels to use. NodeMap, on the other hand, has plenty of information, so this patch makes it safer in these cases.
</p>
<p>
I've also added the beginning of a test suite runnable with <tt>runhaskell Setup.hs test</tt>.
</p>
en-usGHChttp://ghc.haskell.org/trac/ghc/chrome/site/ghc_logo.png
http://ghc.haskell.org/trac/ghc/ticket/1266
Trac 1.0.9jyasskin@…Wed, 04 Apr 2007 06:33:44 GMTattachment set
http://ghc.haskell.org/trac/ghc/ticket/1266
http://ghc.haskell.org/trac/ghc/ticket/1266
<ul>
<li><strong>attachment</strong>
set to <em>resilient-nodemap.dpatch</em>
</li>
</ul>
<p>
V1
</p>
TicketiglooThu, 10 Jul 2008 16:51:18 GMTstatus changed; resolution set
http://ghc.haskell.org/trac/ghc/ticket/1266#comment:1
http://ghc.haskell.org/trac/ghc/ticket/1266#comment:1
<ul>
<li><strong>status</strong>
changed from <em>new</em> to <em>closed</em>
</li>
<li><strong>resolution</strong>
set to <em>wontfix</em>
</li>
</ul>
<p>
This proposal seems to be abandoned
</p>
TicketsimonmarTue, 30 Sep 2008 15:40:11 GMTarchitecture changed
http://ghc.haskell.org/trac/ghc/ticket/1266#comment:2
http://ghc.haskell.org/trac/ghc/ticket/1266#comment:2
<ul>
<li><strong>architecture</strong>
changed from <em>Unknown</em> to <em>Unknown/Multiple</em>
</li>
</ul>
TicketsimonmarTue, 30 Sep 2008 15:51:16 GMTos changed
http://ghc.haskell.org/trac/ghc/ticket/1266#comment:3
http://ghc.haskell.org/trac/ghc/ticket/1266#comment:3
<ul>
<li><strong>os</strong>
changed from <em>Unknown</em> to <em>Unknown/Multiple</em>
</li>
</ul>
Ticket