[Git][ghc/ghc][wip/ghc-internals-move] Warnings

Ben Gamari (@bgamari) gitlab at gitlab.haskell.org
Tue Jan 23 21:51:26 UTC 2024



Ben Gamari pushed to branch wip/ghc-internals-move at Glasgow Haskell Compiler / GHC


Commits:
9a3c33f2 by Ben Gamari at 2024-01-23T16:33:26-05:00
Warnings

- - - - -


8 changed files:

- libraries/base/src/Control/Applicative.hs
- libraries/base/src/Data/Semigroup.hs
- libraries/ghc-internal/src/GHC/Desugar.hs
- libraries/ghc-internal/src/GHC/Event.hs
- libraries/ghc-internal/src/GHC/Foreign.hs
- libraries/ghc-internal/src/GHC/IO/Handle/FD.hs-boot
- libraries/ghc-internal/src/GHC/IO/StdHandles.hs-boot
- libraries/ghc-internal/src/GHC/StaticPtr.hs


Changes:

=====================================
libraries/base/src/Control/Applicative.hs
=====================================
@@ -55,9 +55,7 @@ import Control.Category hiding ((.), id)
 import Control.Arrow
 import Data.Maybe
 import Data.Tuple
-import Data.Eq
-import Data.Ord
-import Data.Foldable (Foldable(..), asum)
+import Data.Foldable (asum)
 import Data.Functor ((<$>))
 import Data.Functor.Const (Const(..))
 import Data.Typeable (Typeable)
@@ -66,9 +64,6 @@ import Data.Data (Data)
 import GHC.Base
 import GHC.Functor.ZipList (ZipList(..))
 import GHC.Generics
-import GHC.List (repeat, zipWith)
-import GHC.Read (Read)
-import GHC.Show (Show)
 
 -- $setup
 -- >>> import Prelude


=====================================
libraries/base/src/Data/Semigroup.hs
=====================================
@@ -115,7 +115,6 @@ import           Data.Foldable
 import           Data.Traversable
 import           Data.Semigroup.Internal
 import           Control.Monad.Fix
-import           Data.Coerce
 import           Data.Data
 import           GHC.Generics
 import qualified GHC.List as List


=====================================
libraries/ghc-internal/src/GHC/Desugar.hs
=====================================
@@ -1,4 +1,3 @@
-{-# LANGUAGE Trustworthy #-}
 {-# LANGUAGE NoImplicitPrelude
            , RankNTypes
            , ExistentialQuantification


=====================================
libraries/ghc-internal/src/GHC/Event.hs
=====================================
@@ -1,4 +1,3 @@
-{-# LANGUAGE Trustworthy #-}
 {-# LANGUAGE NoImplicitPrelude #-}
 {-# LANGUAGE CPP #-}
 


=====================================
libraries/ghc-internal/src/GHC/Foreign.hs
=====================================
@@ -1,4 +1,3 @@
-{-# LANGUAGE Trustworthy #-}
 {-# LANGUAGE NoImplicitPrelude #-}
 {-# LANGUAGE ScopedTypeVariables #-}
 {-# LANGUAGE BangPatterns #-}


=====================================
libraries/ghc-internal/src/GHC/IO/Handle/FD.hs-boot
=====================================
@@ -1,4 +1,3 @@
-{-# LANGUAGE Trustworthy #-}
 {-# LANGUAGE NoImplicitPrelude #-}
 
 module GHC.IO.Handle.FD where


=====================================
libraries/ghc-internal/src/GHC/IO/StdHandles.hs-boot
=====================================
@@ -1,4 +1,3 @@
-{-# LANGUAGE Trustworthy       #-}
 {-# LANGUAGE NoImplicitPrelude #-}
 {-# LANGUAGE CPP               #-}
 


=====================================
libraries/ghc-internal/src/GHC/StaticPtr.hs
=====================================
@@ -54,7 +54,6 @@ import GHC.Base
 import GHC.Ptr             (Ptr(..), nullPtr)
 import GHC.Fingerprint     (Fingerprint(..))
 import GHC.Real
-import GHC.Prim
 import GHC.Word            (Word64(..))
 import Text.Show
 



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/9a3c33f2e1a2658df032dbe1c0698557ff5f9720

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/9a3c33f2e1a2658df032dbe1c0698557ff5f9720
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20240123/9498e7f8/attachment-0001.html>


More information about the ghc-commits mailing list