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

Donald Bruce Stewart dons at cse.unsw.edu.au
Fri Nov 24 21:18:17 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.)

Fixed. And mkcabal generates .lhs Setups now.
> 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.

Thanks for the constructive suggestions Ross. I've added information on
Cabal's sdist to the page.

-- Don

More information about the Haskell-Cafe mailing list