git.iko.soy/typeable/servant
on master help sign in
fix build on 7.8
commit248033ad817407977b85d2b4f6c0220b3646481c authorAlp Mestanogullari <alpmestan@gmail.com> dateWed 22 Jul 2015, 22:06 (11 years ago) parent349cc10
1 file changed+4
servant-mock/src/Servant/Mock.hs+4
servant-mock/src/Servant/Mock.hs+4
@@ -1,3 +1,4 @@
1+{-# LANGUAGE CPP #-}
12{-# LANGUAGE DataKinds #-}
23{-# LANGUAGE TypeFamilies #-}
34{-# LANGUAGE TypeOperators #-}
@@ -6,6 +7,9 @@
67{-# LANGUAGE ScopedTypeVariables #-}
78module Servant.Mock ( HasMock(..) ) where
89
10+#if !MIN_VERSION_base(4,8,0)
11+import Control.Applicative ((<$>))
12+#endif
913import Control.Monad.IO.Class
1014import Data.ByteString.Lazy.Char8 (pack)
1115import Data.Proxy