Commits

Bryan O'Sullivan  committed ee31929

Get the TH stuff building under GHC 6.12

  • Participants
  • Parent commits b9cc2b1

Comments (0)

Files changed (1)

File Data/Aeson/TH.hs

 import Control.Applicative ( pure, (<$>), (<*>) )
 import Control.Monad       ( return, mapM, mzero, liftM2 )
 import Data.Bool           ( otherwise )
-import GHC.Base            ( String )
+import GHC.Base            ( Monad(..), String )
 import Data.Eq             ( (==) )
 import Data.Function       ( ($), (.), id )
 import Data.Functor        ( fmap )
 import Data.List           ( (++), foldl', map, zip, genericLength )
-import Prelude             ( (-), Integer, error )
+import Prelude             ( (-), Integer, fromInteger, error )
 import Text.Show           ( show )
 -- from containers:
 import qualified Data.Map as M ( toList )