build servant-server on GHC 7.8.4
This commit is contained in:
parent
a154a2d1ec
commit
1a042772f5
1 changed files with 3 additions and 4 deletions
|
@ -16,14 +16,13 @@ module Servant.Server.Internal.Authentication
|
||||||
, SimpleAuthProtected
|
, SimpleAuthProtected
|
||||||
) where
|
) where
|
||||||
|
|
||||||
|
#if !MIN_VERSION_base(4,8,0)
|
||||||
|
import Control.Applicative ((<$>))
|
||||||
|
#endif
|
||||||
import Control.Monad (guard)
|
import Control.Monad (guard)
|
||||||
import qualified Data.ByteString as B
|
import qualified Data.ByteString as B
|
||||||
import Data.ByteString.Base64 (decodeLenient)
|
import Data.ByteString.Base64 (decodeLenient)
|
||||||
#if !MIN_VERSION_base(4,8,0)
|
|
||||||
import Data.Monoid ((<>), mempty)
|
|
||||||
#else
|
|
||||||
import Data.Monoid ((<>))
|
import Data.Monoid ((<>))
|
||||||
#endif
|
|
||||||
import Data.Proxy (Proxy (Proxy))
|
import Data.Proxy (Proxy (Proxy))
|
||||||
import Data.String (fromString)
|
import Data.String (fromString)
|
||||||
import Data.Word8 (isSpace, toLower, _colon)
|
import Data.Word8 (isSpace, toLower, _colon)
|
||||||
|
|
Loading…
Reference in a new issue