Commit 3bc6df32 authored by Andreas Klebinger's avatar Andreas Klebinger Committed by Marge Bot

Add Outputable instances for Float, Double.

parent ec25fe59
Pipeline #7126 failed with stages
in 234 minutes and 14 seconds
......@@ -813,6 +813,12 @@ instance Outputable Word32 where
instance Outputable Word where
ppr n = integer $ fromIntegral n
instance Outputable Float where
ppr f = float f
instance Outputable Double where
ppr f = double f
instance Outputable () where
ppr _ = text "()"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment