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:
Andrew Farmer 2016-08-02 20:10:37 -07:00 committed by Facebook Github Bot 8
parent 69ede7d79d
commit 8a69ddcc0d

View File

@ -1,5 +1,9 @@
{-# LANGUAGE CPP #-}
module MemoizationTests (tests) where
#if __GLASGOW_HASKELL__ < 710
import Control.Applicative
#endif
import Data.IORef
import Test.HUnit