
24 Nov
2006
24 Nov
'06
9:18 p.m.
ross:
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