Unused imports

Simon Peyton Jones simonpj at microsoft.com
Fri Nov 23 14:31:33 UTC 2018


I'm getting lots of these failures.  Has someone forgotten to do a submodule update?   I'm up to date on a clean head and have done 'git submodule update'
Help!
Simon


libraries/containers/Data/IntSet/Internal.hs:198:1: error: [-Wunused-imports, -Werror=unused-imports]

    The import of '<>' from module 'Data.Semigroup' is redundant

    |

198 | import Data.Semigroup (Semigroup((<>), stimes), stimesIdempotentMonoid)

    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^



libraries/containers/Data/IntSet/Internal.hs:220:1: error: [-Wunused-imports, -Werror=unused-imports]

    The import of 'Data.Foldable' is redundant

      except perhaps to import instances from 'Data.Foldable'

    To import instances alone, use: import Data.Foldable()

    |

220 | import Data.Foldable (Foldable())

    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20181123/deac91d5/attachment.html>


More information about the ghc-devs mailing list