Haddock, .lhs, and GHC
waldmann at imn.htwk-leipzig.de
Mon Jun 16 01:38:09 EDT 2008
-----BEGIN PGP SIGNED MESSAGE-----
> Does this mean that literate source files should be discouraged? They
> seem to be fairly common, especially in conjunction with Cabal (i.e.,
I think the reason for having Setup.lhs instead of Setup.hs
is that you can put #!/usr/local/bin/runhaskell
in their first line. Then chmod +x Setup.lhs
and you can do ./Setup.lhs configure etc.
So, this has nothing to do with literate programming.
Best regards, J.W.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the Glasgow-haskell-users