shithub: MicroHs

Download patch

ref: 4f9c037b5e4354e9670d79f83a584a64fa79376d
parent: 6eb68e5c797ab99ae917aabcd1a2c4c54bc9cf1a
author: Lennart Augustsson <lennart.augustsson@epicgames.com>
date: Mon Feb 5 16:20:25 EST 2024

Cosmetic

--- a/lib/Data/Ratio.hs
+++ b/lib/Data/Ratio.hs
@@ -39,7 +39,7 @@
   (x:%y) + (x':%y')   =  reduce (x*y' + x'*y) (y*y')
   (x:%y) - (x':%y')   =  reduce (x*y' - x'*y) (y*y')
   (x:%y) * (x':%y')   =  reduce (x * x') (y * y')
-  negate (x:%y)       =  (negate x) :% y
+  negate (x:%y)       =  negate x :% y
   abs (x:%y)          =  abs x :% y
   signum (x:%_)       =  signum x :% 1
   fromInteger x       =  fromInteger x :% 1
--