[Haskell-cafe] Starting your own Haskell project: part 2

Ross Paterson ross at soi.city.ac.uk
Sun Nov 19 09:20:37 EST 2006

On Sun, Nov 19, 2006 at 03:41:29PM +1100, Donald Bruce Stewart wrote:
>     http://haskell.org/haskellwiki/How_to_write_a_Haskell_program
> Feedback welcome!

There is inconsistent advice regarding Setup.hs/Setup.lhs.
(#! in .hs files seems to be a feature of GHC Haskell.)

For releases, another possibility is Cabal's sdist feature.  This will
do a bit more checking, and ensure that the tarball has the structure
expected by HackageDB.  In the example project, you'd want to add

	extra-source-files: Tests.hs

to make this work.

Regarding hosting, I don't think that darcs.haskell.org is the preferred
solution (unfortunately nor is anything else).

Regarding publicity, another possibility is HackageDB, even if it's not
fully working yet (http://hackage.haskell.org/trac/hackage).

More information about the Haskell-Cafe mailing list