Re: no-unused-imports for only one import

Henning Thielemann <[email protected]>
Newsgroups gmane.comp.lang.haskell.cafe
Message-ID <[email protected]>
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?
_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.