Skip to content

Commit

Permalink
Fix -Wunused-imports warnings with GHC 9.10
Browse files Browse the repository at this point in the history
GHC 9.10 includes `foldl'` as part of the `Prelude`, which makes some
`Data.Foldable` imports redundant. Let's remove them.
  • Loading branch information
RyanGlScott committed May 4, 2024
1 parent f0e7e3a commit ec25f40
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
module Data.List.Singletons.Internal.Disambiguation where

import Data.Eq.Singletons
import Data.List ( foldl', inits, insert, intersperse, isPrefixOf
import Data.List ( inits, insert, intersperse, isPrefixOf
, nubBy, partition, sort, sortBy, tails, transpose )
import Data.List.Singletons.Internal
import Data.Ord.Singletons
Expand Down
1 change: 0 additions & 1 deletion singletons-th/src/Data/Singletons/TH/Single/Defun.hs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
module Data.Singletons.TH.Single.Defun (singDefuns) where

import Control.Monad
import Data.Foldable
import Data.Singletons.TH.Names
import Data.Singletons.TH.Options
import Data.Singletons.TH.Promote.Defun
Expand Down

0 comments on commit ec25f40

Please sign in to comment.