-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 So I've noticed for some time now a warning while building: Shim/Utils.hs:40:0: Warning: Module `Data.List' is imported, but nothing from it is used, except perhaps instances visible in `Data.List' To suppress this warning, use: import Data.List()
Being -Wall clean is nice, so I went to fix it. But I am a little flummoxed: Data.List is indeed being used, for 'elem', and the using function is in fact exported. It is, as far as I can tell, most definitely used. You can remove it and cause a compile failure, the function is specified in the export list, and so on. It's not the infix syntax either (I tried using 'elem' prefix, since I know there've been some problems with the `infix` stuff in 6.10). So is this just a false positive by GHC? - -- gwern -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEAREKAAYFAkktmdAACgkQvpDo5Pfl1oLmSACdEM/aDAKhrvE607DANVqsUswp EIUAniTR9dQNwl2rdKux9pbq8eKjjdVL =lUs0 -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~----------~----~----~----~------~----~------~--~---