haskell / fgl

A Functional Graph Library for Haskell
http://hackage.haskell.org/package/fgl
Other
184 stars 54 forks source link

Add freeze and thaw for monadic graphs #44

Open treeowl opened 7 years ago

treeowl commented 7 years ago

I believe we should offer

freezeGraph :: (GraphM m mg, Graph g) => mg a b -> m (g a b)
thawGraph :: (GraphM m mg, Graph g) => g a b -> m (mg a b)
ivan-m commented 7 years ago

I think the best approach is to do this as part of #42 .