Talk:How to write a Haskell program

From HaskellWiki
Revision as of 09:20, 31 October 2006 by EricKow (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

How do people feel about

#!/usr/bin/env runhaskell
\begin{code}
import Distribution.Simple
main = defaultMain
\end{code}

instead of

#!/usr/bin/env runhaskell

> import Distribution.Simple
> main = defaultMain

dons 07:59, 31 October 2006 (UTC)In fact, just this works:

#!/usr/bin/env runhaskell
import Distribution.Simple
main = defaultMain

which is simplest of all

Thanks!

I was putting off (and meaning to get around to) cabalising my software until I saw how easy it was on this page. -- kowey 09:20, 31 October 2006 (UTC)