Hi Petr,

> Neil, what do you think? Would you be willing to implement these things in
> hlint? Or if not, would you accept patches for them?

Yes, having darcs use HLint would be good - and I'm happy to make
changes as necessary to accommodate this.

I'm happy to add new darcs specific hints into the main part of hlint,
and I was also going to add the ability to add new hints to HLint and
use it like a library. I'd like to generalise as many of the hints as
possible in to a way where they are useful for most people, but if
they have to be 100% darcs specific then that's fine too.

If you give me a list of examples which you want HLint to pick up on,
then I'll raise bugs for each of those, and see the best way forward.

For example, with your readFile hint, I think what you actually want
is a banned function hint - and say Prelude.readFile is disallowed.
That's perfectly reasonable to add as a new general method.

Thanks

Neil
_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to