Haskell Platform Proposal: HLint

Max Bolingbroke batterseapower at hotmail.com
Fri Nov 5 04:53:18 EDT 2010


On 4 November 2010 08:40, Ivan Lazar Miljenovic
<ivan.miljenovic at gmail.com> wrote:
> Except the Platform is based on the sources, etc. ...

This is not really an issue as the makefile can:
1. Install uniplate, src-exts etc into a temporary location and a
temporary package list
2. Compile hint wrt. that file
3. Zap the temporary package list and temporarily installed libraries

So you still get the source code for those packages in your Platform
download but they never show up in "ghc-pkg list" for the user.

> Also, don't forget the GHC now supports dynamic linking.

This is also not an issue with the above approach. Just build+link the
"private" packages statically. It is still OK for hint to link
dynamically to those packages that we intend to actually install.

Cheers,
Max


More information about the Libraries mailing list