haskell / fgl

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

Data/Graph/Inductive/NodeMap.hs:159:9-32: Non-exhaustive patterns in Just es' #88

Closed simonmichael closed 1 year ago

simonmichael commented 5 years ago

You can get a Data/Graph/Inductive/NodeMap.hs:159:9-32: Non-exhaustive patterns in Just es' with fgl-5.7.0.1.

simonmichael commented 5 years ago

...if you don't provide all the required node labels, eg:

mkMapGraph ["A","B"] [("A","B",1), ("A","C",1)]
athas commented 1 year ago

The partiality is now documented.