shithub: MicroHs

Download patch

ref: b8b9a7ab4517850aec733a2ce38fe8114adae0f6
parent: 687532ec7a7de83259e815a5b6056625ff31ce45
author: Lennart Augustsson <lennart@augustsson.net>
date: Sat Nov 23 07:45:25 EST 2024

Make it compile

--- a/lib/Data/FloatW.hs
+++ b/lib/Data/FloatW.hs
@@ -108,7 +108,7 @@
 foreign import ccall "atan" catan :: FloatW -> IO FloatW
 foreign import ccall "atan2" catan2 :: FloatW -> FloatW -> IO FloatW
 
--- Assumes 64 bit floats
+-- Assumes 32/64 bit floats
 instance RealFloat FloatW where
   floatRadix     _ = 2
   floatDigits    _ = flt 24 53
--- a/lib/Numeric/FormatFloat.hs
+++ b/lib/Numeric/FormatFloat.hs
@@ -11,8 +11,6 @@
   showHFloat,
 
   ) where
-import Prelude()
-import MiniPrelude
 import Data.Char
 import Numeric.Show