[darcs-users] haskell_policy and hlint

Jason Dagit dagit at codersbase.com
Thu Aug 6 14:41:30 UTC 2009


On Thu, Aug 6, 2009 at 3:31 AM, Gwern Branwen <gwern0 at gmail.com> wrote:

>
> (I note that error will lead to a non-zero exit code; glad to see that
> issue fixed.)
>
> Now, attached is a patch adding this hint file, and also adding your basic
> sh script running hlint with 2 args (the hint file and ../src).
>
> My patch doesn't also replace haskell_policy.sh because there are so many
> warnings and not a few errors in the darcs codebase, so while
> haskell_policy.sh might exit with 0 right now, haskell_hlint.sh most
> certainly won't! And I hesitate to take the step of 'breaking' part of the
> testing infrastructure.


Gwern,

Thanks for doing this.  I was reading the comments in your message and I
wondered if it would be possible to add a rule to disallow the lazy
bytestring variant of readFile?  The comment says it's just as problematic
as the prelude version.

Thanks!
Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20090806/00b0ecc0/attachment.htm>


More information about the darcs-users mailing list