haskell / fgl

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

Fix most/all warnings #112

Closed athas closed 1 year ago

athas commented 1 year 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.