[darcs-users] haskell_policy and hlint
dagit at codersbase.com
Thu Aug 6 20:26:29 UTC 2009
On Thu, Aug 6, 2009 at 11:49 AM, Gwern Branwen <gwern0 at gmail.com> wrote:
> On Thu, Aug 6, 2009 at 10:41 AM, Jason Dagit<dagit at codersbase.com> wrote:
> > 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
> >> 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
> >> 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
> >> 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
> > as the prelude version.
> > Thanks!
> > Jason
> So something like this?
Yes! Very cool. Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the darcs-users