--- text-icu-0.7.0.0-orig/Data/Text/ICU/Break.hsc 2014-08-15 07:17:37.000000000 +1000 +++ text-icu-0.7.0.0/Data/Text/ICU/Break.hsc 2015-01-03 15:05:27.300927099 +1100 @@ -64,7 +64,11 @@ import Foreign.Marshal.Array (allocaArray, peekArray) import Foreign.Marshal.Utils (with) import Foreign.Ptr (FunPtr, Ptr, nullPtr) +#if MIN_VERSION_base(4,8,0) +import Prelude hiding (last, Word) +#else import Prelude hiding (last) +#endif import System.IO.Unsafe (unsafePerformIO) -- $indices --- text-icu-0.7.0.0-orig/Data/Text/ICU/Break/Pure.hs 2014-08-15 07:17:37.000000000 +1000 +++ text-icu-0.7.0.0/Data/Text/ICU/Break/Pure.hs 2015-01-03 15:06:16.528158894 +1100 @@ -1,4 +1,4 @@ -{-# LANGUAGE BangPatterns, RecordWildCards #-} +{-# LANGUAGE BangPatterns, CPP, RecordWildCards #-} -- | -- Module : Data.Text.ICU.Break.Pure -- Copyright : (c) 2010 Bryan O'Sullivan @@ -44,6 +44,9 @@ import Data.Text.ICU.Break (Line, Word) import Data.Text.ICU.Break.Types (BreakIterator(..)) import Data.Text.ICU.Internal (LocaleName) +#if MIN_VERSION_base(4,8,0) +import Prelude hiding (Word) +#endif import System.IO.Unsafe (unsafeInterleaveIO, unsafePerformIO) import qualified Data.Text.ICU.Break as IO