mirror of
https://github.com/facebook/Haxl.git
synced 2024-12-23 08:43:16 +03:00
Import Control.Applicative in MemoizationTests for GHC < 7.10
Summary: GHC prior to 7.10 didn't export <$> in the prelude. Reviewed By: watashi Differential Revision: D3659220 fbshipit-source-id: af95574bc33f593fe0deb9217a963a7d9d9b0a16
This commit is contained in:
parent
69ede7d79d
commit
8a69ddcc0d
@ -1,5 +1,9 @@
|
||||
{-# LANGUAGE CPP #-}
|
||||
module MemoizationTests (tests) where
|
||||
|
||||
#if __GLASGOW_HASKELL__ < 710
|
||||
import Control.Applicative
|
||||
#endif
|
||||
import Data.IORef
|
||||
|
||||
import Test.HUnit
|
||||
|
Loading…
Reference in New Issue
Block a user