[Haskell-cafe] Re: Fix plugins package.

Yuras Shumovich shumovichy at gmail.com
Sat Jul 10 02:13:50 EDT 2010


>> src/System/Plugins/Process.hs:59:4:
>>     Warning: A do-notation statement discarded a result of type GHC.Conc.ThreadId.
>>              Suppress this warning by saying "_ <- forkIO
>>                                                      ((>>)
>>                                                         E.evaluate (length errput)
>>                                                         return GHC.Unit.())",
>>              or by using the flag -fno-warn-unused-do-bind
>> [ 3 of 15] Compiling System.Plugins.Parser ( src/System/Plugins/Parser.hs,
>> dist/build/System/Plugins/Parser.o )
>>
>> src/System/Plugins/Parser.hs:31:0:
>>     Warning: The import of `Data.Either' is redundant
>>                except perhaps to import instances from `Data.Either'
>>              To import instances alone, use: import Data.Either()
>> [ 4 of 15] Compiling System.Plugins.PackageAPI ( src/System/Plugins/PackageAPI.hs,
>> dist/build/System/Plugins/PackageAPI.o )
>>
>> src/System/Plugins/PackageAPI.hs:61:24: Not in scope: `package'
>>
>> src/System/Plugins/PackageAPI.hs:62:25: Not in scope: `package'
>> ...

You can just replace 'package' with 'sourcePackageId'


More information about the Haskell-Cafe mailing list