nick8325 / quickcheck

Automatic testing of Haskell programs.
Other
706 stars 119 forks source link

Silence warning for partial functions on ghc >=9.8 #385

Closed UlfNorell closed 3 months ago

MaximilianAlgehed commented 3 months ago

What's the case against just removing said partial function calls from the code base?

UlfNorell commented 3 months ago

These are the partial functions we get warnings for:

phadej commented 3 months ago

FWIW, map head . group is exactly that if you use head and group from Data.List.NonEmpty