haskell / fgl

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

Fix most/all warnings #112

Closed athas closed 11 months ago

athas commented 11 months ago

It was getting a bit difficult to see which warnings might be indicative of problems, so I fixed the various unmatched-case warnings.

I tried to be conservative in order to minimise the risk of breakage, so there might be a few cases where edge cases are checked using both Boolean control flow and pattern matching.