unsupporting GHC < 8.6.5, removing unecessary imports
This commit is contained in:
parent
1fa1878180
commit
6e5dffbb91
20 changed files with 0 additions and 36 deletions
|
@ -24,7 +24,6 @@ Language extensions and imports:
|
|||
import Control.Lens ((^.))
|
||||
import Data.Aeson
|
||||
import Data.Aeson.Text
|
||||
import Data.Monoid ((<>))
|
||||
import Data.Proxy (Proxy (Proxy))
|
||||
import Data.Text (Text)
|
||||
import Data.Text.Encoding (decodeUtf8)
|
||||
|
|
|
@ -20,7 +20,6 @@ Extensions and imports:
|
|||
import Data.Aeson
|
||||
import Data.Proxy
|
||||
import Data.Text
|
||||
import Data.Semigroup
|
||||
import GHC.Generics
|
||||
import Network.Wai
|
||||
import Network.Wai.Handler.Warp
|
||||
|
|
|
@ -28,8 +28,6 @@ executable cookbook-uverb
|
|||
, swagger2
|
||||
, wai
|
||||
, warp
|
||||
if impl(ghc < 8.6.1)
|
||||
buildable: False
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall -pgmL markdown-unlit
|
||||
build-tool-depends: markdown-unlit:markdown-unlit
|
||||
|
|
|
@ -47,7 +47,6 @@ module Authentication where
|
|||
import Data.Aeson (ToJSON)
|
||||
import Data.ByteString (ByteString)
|
||||
import Data.Map (Map, fromList)
|
||||
import Data.Monoid ((<>))
|
||||
import qualified Data.Map as Map
|
||||
import Data.Proxy (Proxy (Proxy))
|
||||
import Data.Text (Text)
|
||||
|
|
|
@ -9,8 +9,6 @@ module Servant.Client.Core.BasicAuth (
|
|||
|
||||
import Data.ByteString.Base64
|
||||
(encode)
|
||||
import Data.Monoid
|
||||
((<>))
|
||||
import Data.Text.Encoding
|
||||
(decodeUtf8)
|
||||
import Servant.API.BasicAuth
|
||||
|
|
|
@ -35,8 +35,6 @@ import Data.Bitraversable
|
|||
import qualified Data.ByteString as BS
|
||||
import qualified Data.ByteString.Builder as Builder
|
||||
import qualified Data.ByteString.Lazy as LBS
|
||||
import Data.Semigroup
|
||||
((<>))
|
||||
import qualified Data.Sequence as Seq
|
||||
import Data.Text
|
||||
(Text)
|
||||
|
|
|
@ -53,8 +53,6 @@ import Data.Maybe
|
|||
(maybe, maybeToList)
|
||||
import Data.Proxy
|
||||
(Proxy (..))
|
||||
import Data.Semigroup
|
||||
((<>))
|
||||
import Data.Sequence
|
||||
(fromList)
|
||||
import Data.String
|
||||
|
|
|
@ -21,8 +21,6 @@ import Prelude ()
|
|||
import Prelude.Compat
|
||||
|
||||
import Data.Monoid ()
|
||||
import Data.Semigroup
|
||||
((<>))
|
||||
import qualified Network.HTTP.Types as HTTP
|
||||
import Test.Hspec
|
||||
|
||||
|
|
|
@ -52,8 +52,6 @@ import Data.Ord
|
|||
(comparing)
|
||||
import Data.Proxy
|
||||
(Proxy (Proxy))
|
||||
import Data.Semigroup
|
||||
(Semigroup (..))
|
||||
import Data.String.Conversions
|
||||
(cs)
|
||||
import Data.Text
|
||||
|
|
|
@ -13,7 +13,6 @@ module Servant.Foreign.Inflections
|
|||
import Control.Lens hiding
|
||||
(cons)
|
||||
import qualified Data.Char as C
|
||||
import Data.Monoid
|
||||
import Data.Text hiding
|
||||
(map)
|
||||
import Prelude hiding
|
||||
|
|
|
@ -23,8 +23,6 @@ import Control.Lens
|
|||
import Data.Data
|
||||
(Data)
|
||||
import Data.Proxy
|
||||
import Data.Semigroup
|
||||
(Semigroup)
|
||||
import Data.String
|
||||
import Data.Text
|
||||
import Data.Text.Encoding
|
||||
|
|
|
@ -11,8 +11,6 @@
|
|||
|
||||
module Servant.ForeignSpec where
|
||||
|
||||
import Data.Monoid
|
||||
((<>))
|
||||
import Data.Proxy
|
||||
import Servant.Foreign
|
||||
import Servant.Test.ComprehensiveAPI
|
||||
|
|
|
@ -49,8 +49,6 @@ import Data.Maybe
|
|||
(maybeToList)
|
||||
import Data.Proxy
|
||||
(Proxy (..))
|
||||
import Data.Semigroup
|
||||
((<>))
|
||||
import Data.Sequence
|
||||
(fromList)
|
||||
import Data.String
|
||||
|
|
|
@ -44,8 +44,6 @@ import Data.Maybe
|
|||
(isJust)
|
||||
import Data.Monoid ()
|
||||
import Data.Proxy
|
||||
import Data.Semigroup
|
||||
((<>))
|
||||
import GHC.Generics
|
||||
(Generic)
|
||||
import qualified Network.HTTP.Types as HTTP
|
||||
|
|
|
@ -46,8 +46,6 @@ import Data.Either
|
|||
(partitionEithers)
|
||||
import Data.Maybe
|
||||
(fromMaybe, isNothing, mapMaybe, maybeToList)
|
||||
import Data.Semigroup
|
||||
((<>))
|
||||
import Data.String
|
||||
(IsString (..))
|
||||
import Data.String.Conversions
|
||||
|
|
|
@ -12,8 +12,6 @@ import Control.Monad.Trans
|
|||
import qualified Data.ByteString as BS
|
||||
import Data.ByteString.Base64
|
||||
(decodeLenient)
|
||||
import Data.Monoid
|
||||
((<>))
|
||||
import Data.Typeable
|
||||
(Typeable)
|
||||
import Data.Word8
|
||||
|
|
|
@ -12,8 +12,6 @@ import Data.Aeson
|
|||
(encode)
|
||||
import qualified Data.ByteString.Char8 as BC
|
||||
import qualified Data.ByteString.Lazy.Char8 as BCL
|
||||
import Data.Monoid
|
||||
((<>))
|
||||
import Data.Proxy
|
||||
import Data.String.Conversions
|
||||
(cs)
|
||||
|
|
|
@ -16,8 +16,6 @@ import Data.Bifunctor
|
|||
(Bifunctor (..))
|
||||
import Data.Bitraversable
|
||||
(Bitraversable (..))
|
||||
import Data.Semigroup
|
||||
(Semigroup (..))
|
||||
import Data.Typeable
|
||||
(Typeable)
|
||||
import Prelude ()
|
||||
|
|
|
@ -47,8 +47,6 @@ import qualified Data.ByteString.Lazy as LBS
|
|||
import qualified Data.ByteString.Lazy.Char8 as LBS8
|
||||
import Data.List.NonEmpty
|
||||
(NonEmpty (..))
|
||||
import Data.Monoid
|
||||
((<>))
|
||||
import Data.Proxy
|
||||
(Proxy)
|
||||
import Data.Typeable
|
||||
|
|
|
@ -127,8 +127,6 @@ module Servant.Links (
|
|||
import Data.List
|
||||
import Data.Proxy
|
||||
(Proxy (..))
|
||||
import Data.Semigroup
|
||||
((<>))
|
||||
import Data.Singletons.Bool
|
||||
(SBool (..), SBoolI (..))
|
||||
import qualified Data.Text as Text
|
||||
|
|
Loading…
Reference in a new issue