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: >> import Your.Module () >> >> trick? That is, add empty parenthesis after your import? > > This code is a binding to a library and depending on values this import is necessary or not. Then just put the same HS_VERSION check around the 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.