unsupporting GHC < 8.6.5, removing unecessary imports

This commit is contained in:
akhesaCaro 2021-09-12 10:50:53 +02:00 committed by akhesacaro
parent 1fa1878180
commit 6e5dffbb91
20 changed files with 0 additions and 36 deletions

View file

@ -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)

View file

@ -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

View file

@ -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

View file

@ -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)

View file

@ -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

View file

@ -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)

View file

@ -53,8 +53,6 @@ import Data.Maybe
(maybe, maybeToList)
import Data.Proxy
(Proxy (..))
import Data.Semigroup
((<>))
import Data.Sequence
(fromList)
import Data.String

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -11,8 +11,6 @@
module Servant.ForeignSpec where
import Data.Monoid
((<>))
import Data.Proxy
import Servant.Foreign
import Servant.Test.ComprehensiveAPI

View file

@ -49,8 +49,6 @@ import Data.Maybe
(maybeToList)
import Data.Proxy
(Proxy (..))
import Data.Semigroup
((<>))
import Data.Sequence
(fromList)
import Data.String

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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)

View file

@ -16,8 +16,6 @@ import Data.Bifunctor
(Bifunctor (..))
import Data.Bitraversable
(Bitraversable (..))
import Data.Semigroup
(Semigroup (..))
import Data.Typeable
(Typeable)
import Prelude ()

View file

@ -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

View file

@ -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