[number] fix compat with a missing do.
This commit is contained in:
parent
ee3e5e69bf
commit
8c07305deb
@ -114,7 +114,7 @@ gmpSizeInBytes _ = GmpUnsupported
|
||||
|
||||
gmpExportInteger :: Integer -> Ptr Word8 -> GmpSupported (IO ())
|
||||
#if __GLASGOW_HASKELL__ >= 710
|
||||
gmpExportInteger n (Ptr addr) = GmpSupported $
|
||||
gmpExportInteger n (Ptr addr) = GmpSupported $ do
|
||||
_ <- exportIntegerToAddr n addr 1#
|
||||
return ()
|
||||
#elif MIN_VERSION_integer_gmp(0,5,1)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user