logo       

RE: repeated import warning: msg#00029

lang.haskell.glasgow.bugs

Subject: RE: repeated import warning

Done!

Simon


Foo.hs:
Warning: `isJust' is imported more than once:
imported from Maybe at Foo.hs:4:16-21
imported from Maybe at Foo.hs:3:23-28
imported from Maybe at Foo.hs:3:16-21

| -----Original Message-----
| From: glasgow-haskell-bugs-bounces@xxxxxxxxxxx
[mailto:glasgow-haskell-bugs-
| bounces@xxxxxxxxxxx] On Behalf Of Serge D. Mechveliani
| Sent: 18 November 2003 13:36
| To: glasgow-haskell-bugs@xxxxxxxxxxx
| Subject: repeated import warning
|
| Dear GHC developers,
|
| What about compiler's warning of repeated import of items?
| For the large import lists this may be useful,
| and ghc-6.01 seems to lack this:
|
| ------------------
| module T where
| import Maybe (isJust, isJust)
| f = isJust
| ------------------
|
| ghc -c T.hs
|
|
| -----------------
| Serge Mechveliani
| mechvel@xxxxxxxx
| _______________________________________________
| Glasgow-haskell-bugs mailing list
| Glasgow-haskell-bugs@xxxxxxxxxxx
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise