Avoid compiler warning about redundant Applicative
The `(<$>)` operator from Control.Applicative module is also in prelude
starting with base 4.8. Import the module only for older versions.
@@ -13,7 +13,10 @@ module Scripting.Lua
, module Scripting.Lua
) where
+#if MIN_VERSION_base(4,8,0)
+#else
import Control.Applicative ((<$>))
+#endif
import Control.Monad
import qualified Data.ByteString as B
import qualified Data.ByteString.Char8 as BC
