Feature request: more transparency for Data.Graph.Inductive.NodeMap

Misha Aizatulin avatar at hot.ee
Mon Jun 9 18:17:53 EDT 2008


Don Stewart wrote:
> So, in summary, if you want something in fgl, submit a patch.

   ok, here is a patch, a copy is being sent to Martin Erwig.

Cheers,
   Misha
-------------- next part --------------

New patches:

[NodeMap.toList
Misha Aizatulin <avatar at hot.ee>**20080609220317
 
 See http://thread.gmane.org/gmane.comp.lang.haskell.libraries/9221
] {
hunk ./Data/Graph/Inductive/NodeMap.hs 8
+    -- ** Map Inspection
+    toList,
hunk ./Data/Graph/Inductive/NodeMap.hs 47
+toList :: (Ord a) => NodeMap a -> [LNode a]
+toList = P.map swap . fmToList . map where
+  swap (a, b) = (b, a)
+
hunk ./fgl.cabal 10
+build-type:	Simple
}

Context:

[TAG 2008-06-06
Ian Lynagh <igloo at earth.li>**20080605235619] 
Patch bundle hash:
a066e6d1085d3672195a26b81e3778b212a3e58b


More information about the Libraries mailing list