Adjust library imports to get fromInt/toInt from PrelNum
-- the representation of some basic types:
Int(..),Addr(..),Word(..),Float(..),Double(..),Integer(..),Char(..),
-- the representation of some basic types:
Int(..),Addr(..),Word(..),Float(..),Double(..),Integer(..),Char(..),
+ -- The non-standard fromInt and toInt methods
+ Num( fromInt ), Integral( toInt ),
+
-- Fusion
build, augment,
-- Fusion
build, augment,
import PrelGHC
import PrelBase
import PrelGHC
import PrelBase
+import PrelNum ( Num(..), Integral(..) ) -- To get fromInt/toInt
import PrelAddr ( Addr(..), Word(..) )
import PrelST
import IOExts
import PrelAddr ( Addr(..), Word(..) )
import PrelST
import IOExts
#endif
import Ix
import Bits
#endif
import Ix
import Bits
+import PrelNum ( Num(..), Integral(..) ) -- To get fromInt/toInt
import Ratio ( (%) )
import Numeric ( readDec )
import Word ( Word32 )
import Ratio ( (%) )
import Numeric ( readDec )
import Word ( Word32 )
import PrelAddr
#endif
import Ix
import PrelAddr
#endif
import Ix
+import PrelNum ( Num(..), Integral(..) ) -- To get fromInt/toInt
import Bits
import Ratio
import Numeric (readDec, showInt)
import Bits
import Ratio
import Numeric (readDec, showInt)
import PrelST
#endif
import IO ( ioError )
import PrelST
#endif
import IO ( ioError )
+import PrelNum ( Num(..), Integral(..) ) -- To get fromInt/toInt
import Ratio
#ifdef __HUGS__
import Ratio
#ifdef __HUGS__
import PrelST
import PrelRead
import PrelShow
import PrelST
import PrelRead
import PrelShow
+import PrelNum -- So we get fromInt, toInt
import PrelIOBase
import PrelNumExtra ( float2Double, double2Float )
import PrelBase
import PrelIOBase
import PrelNumExtra ( float2Double, double2Float )
import PrelBase