Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions Data/Attoparsec/ByteString.hs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{-# LANGUAGE CPP #-}
#if __GLASGOW_HASKELL__ >= 702
{-# LANGUAGE Trustworthy #-}
#endif
-- |
-- Module : Data.Attoparsec.ByteString
-- Copyright : Bryan O'Sullivan 2007-2015
Expand Down
2 changes: 0 additions & 2 deletions Data/Attoparsec/ByteString/Char8.hs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{-# LANGUAGE BangPatterns, CPP, FlexibleInstances, TypeFamilies,
TypeSynonymInstances, GADTs #-}
#if __GLASGOW_HASKELL__ >= 702
{-# LANGUAGE Trustworthy #-} -- Imports internal modules
#endif
{-# OPTIONS_GHC -fno-warn-orphans -fno-warn-warnings-deprecations #-}

-- |
Expand Down
2 changes: 0 additions & 2 deletions Data/Attoparsec/ByteString/Lazy.hs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{-# LANGUAGE CPP #-}
#if __GLASGOW_HASKELL__ >= 702
{-# LANGUAGE Trustworthy #-} -- Imports internal modules
#endif

-- |
-- Module : Data.Attoparsec.ByteString.Lazy
Expand Down
2 changes: 0 additions & 2 deletions Data/Attoparsec/Combinator.hs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{-# LANGUAGE BangPatterns, CPP #-}
#if __GLASGOW_HASKELL__ >= 702
{-# LANGUAGE Trustworthy #-} -- Imports internal modules
#endif
-- |
-- Module : Data.Attoparsec.Combinator
-- Copyright : Daan Leijen 1999-2001, Bryan O'Sullivan 2007-2015
Expand Down
2 changes: 0 additions & 2 deletions Data/Attoparsec/Text.hs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{-# LANGUAGE BangPatterns, CPP, FlexibleInstances, TypeSynonymInstances #-}
#if __GLASGOW_HASKELL__ >= 702
{-# LANGUAGE Trustworthy #-} -- Imports internal modules
#endif
{-# OPTIONS_GHC -fno-warn-warnings-deprecations #-}

-- |
Expand Down
2 changes: 0 additions & 2 deletions Data/Attoparsec/Text/Lazy.hs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{-# LANGUAGE CPP #-}
#if __GLASGOW_HASKELL__ >= 702
{-# LANGUAGE Trustworthy #-} -- Imports internal modules
#endif

{-# OPTIONS_GHC -fno-warn-warnings-deprecations #-}
-- |
Expand Down
2 changes: 0 additions & 2 deletions Data/Attoparsec/Zepto.hs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{-# LANGUAGE CPP #-}
#if __GLASGOW_HASKELL__ >= 702
{-# LANGUAGE Trustworthy #-} -- Data.ByteString.Unsafe
#endif
{-# LANGUAGE BangPatterns #-}

-- |
Expand Down
5 changes: 0 additions & 5 deletions attoparsec.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,7 @@ library
scientific >= 0.3.1 && < 0.4,
transformers >= 0.2 && (< 0.4 || >= 0.4.1.0) && < 0.7,
text >= 1.1.1.3,
ghc-prim < 0.14,
attoparsec-internal
if impl(ghc < 7.4)
build-depends:
bytestring < 0.10.4.0

if !impl(ghc >= 8.0)
-- Data.Semigroup && Control.Monad.Fail are available in base-4.9+
Expand Down Expand Up @@ -195,7 +191,6 @@ benchmark attoparsec-benchmarks
deepseq >= 1.1,
directory,
filepath,
ghc-prim,
http-types,
parsec >= 3.1.2,
scientific,
Expand Down
5 changes: 0 additions & 5 deletions benchmarks/Benchmarks.hs
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,3 @@ quotedString = AB.scan False $ \s c -> if s then Just False
else if c == doubleQuote
then Nothing
else Just (c == backslash)

#if !MIN_VERSION_base(4,5,0)
unsafeShiftL :: Bits a => a -> Int -> a
unsafeShiftL = shiftL
#endif
3 changes: 1 addition & 2 deletions benchmarks/warp-3.0.1.1/Network/Wai/Handler/Warp/ReadInt.hs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ module Network.Wai.Handler.Warp.ReadInt (
import Data.ByteString (ByteString)
import qualified Data.ByteString as S
import Data.Int (Int64)
import GHC.Prim
import GHC.Types
import GHC.Exts
import GHC.Word

{-# INLINE readInt #-}
Expand Down
Loading