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

Add Outputable instances for Float, Double.

parent ec25fe59
......@@ -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