[Haskell-cafe] no-unused-imports for only one import

Henning Thielemann lemming at henning-thielemann.de
Fri Aug 9 09:01:33 UTC 2024


On Fri, 9 Aug 2024, PICCA Frederic-Emmanuel wrote:

> Hello,
>
> I would like to  set -Wno-unused-imports for only one import,
>
> is it possible and how to do it ?

What about the

   import Your.Module ()

trick? That is, add empty parenthesis after your import?


More information about the Haskell-Cafe mailing list