diff --git a/Haxl/Core/DataCache.hs b/Haxl/Core/DataCache.hs index 24e51bb..c40f092 100644 --- a/Haxl/Core/DataCache.hs +++ b/Haxl/Core/DataCache.hs @@ -30,6 +30,9 @@ import Unsafe.Coerce import qualified Data.HashMap.Strict as HashMap import Data.Typeable.Internal import Data.Maybe +#if __GLASGOW_HASKELL__ < 710 +import Control.Applicative ((<$>)) +#endif import Control.Exception import Haxl.Core.Types