[darcs-users] darcs patch: Re-implement haskell_policy in terms of hlint.

Neil Mitchell ndmitchell at gmail.com
Sat Aug 8 16:56:51 UTC 2009


Hi Gwern,

With the version in darcs I can now parse all of darcs 2.3.0, with the
exception of 4 files which are all down to a bug in haskell-src-exts:
http://trac.haskell.org/haskell-src-exts/ticket/58

To run I do:

$ cd c:\neil\darcs-2.3.0
$ hlint --cpp-include=src src

Using include files there are a number of warnings that don't make
sense, particularly the one to use fewer import statements.

Thanks,

Neil

On Sat, Aug 8, 2009 at 12:07 AM, Neil Mitchell<ndmitchell at gmail.com> wrote:
> Hi
>
>> _darcs/pristine/src/Hint/All.hs:import Hint.Import
>> _darcs/pristine/hlint.cabal:        Hint.Import
>> hlint.cabal:        Hint.Import
>> src/Hint/All.hs:import Hint.Import
>>
>>
>> Neil, I'm guessing you forgot to commit src/Hint/Import.hs?
>
> Woops. I did indeed forget that file, just committed and pushed.
>
> It still won't fix the problem though, I've got a bug tracking cpphs
> integration: http://code.google.com/p/ndmitchell/issues/detail?id=137
>
> Once that bug gets closed your thing will be fixed, hopefully.
>
> Thanks
>
> Neil
>


More information about the darcs-users mailing list