Fix warnings generated by Werror.

This commit is contained in:
Pranay Sashank 2019-11-14 14:29:53 +05:30 committed by Harendra Kumar
parent 9183e21a11
commit c2aec505d1
2 changed files with 3 additions and 1 deletions

View File

@ -26,7 +26,9 @@ where
import Control.Arrow (Arrow(..))
import Control.Category (Category(..))
import Data.Maybe (isJust)
#if __GLASGOW_HASKELL__ < 808
import Data.Semigroup (Semigroup(..))
#endif
import Prelude hiding (zipWith, map, id, unzip, null)
import Streamly.Internal.Data.Strict (Tuple'(..), Tuple3'(..))

View File

@ -305,7 +305,7 @@ import Data.Maybe (fromJust, isJust)
import Data.Word (Word32)
import Foreign.Ptr (Ptr)
import Foreign.Storable (Storable(..))
import GHC.Base (assert, Char(..), unsafeChr, ord)
import GHC.Base (assert, unsafeChr, ord)
import GHC.IO.Encoding.Failure (isSurrogate)
import GHC.ForeignPtr (ForeignPtr (..))
import GHC.Ptr (Ptr (..))