Fix build for GHC 7.8 (import traverse)
This commit is contained in:
parent
454046f0c9
commit
689cb4caac
1 changed files with 2 additions and 0 deletions
|
@ -10,6 +10,7 @@
|
|||
{-# LANGUAGE TypeOperators #-}
|
||||
{-# LANGUAGE UndecidableInstances #-}
|
||||
#if !MIN_VERSION_base(4,8,0)
|
||||
{-# LANGUAGE DeriveDataTypeable #-}
|
||||
{-# LANGUAGE OverlappingInstances #-}
|
||||
#endif
|
||||
|
||||
|
@ -22,6 +23,7 @@ module Servant.Server.Internal
|
|||
|
||||
#if !MIN_VERSION_base(4,8,0)
|
||||
import Control.Applicative ((<$>))
|
||||
import Data.Traversable (traverse)
|
||||
#endif
|
||||
import Control.Arrow (left)
|
||||
import Control.Monad.Trans.Except (ExceptT)
|
||||
|
|
Loading…
Add table
Reference in a new issue