-
Simon Peyton Jones authored
Make negative literals work in patterns The issue here is that f (-1) = True f x = False should generate f x = x == negate (fromInteger 1) rather than f x = x == fromInteger (-1)
fd7d044f
Make negative literals work in patterns The issue here is that f (-1) = True f x = False should generate f x = x == negate (fromInteger 1) rather than f x = x == fromInteger (-1)