scripts on unix

Matthew Danish mdanish at andrew.cmu.edu
Wed Mar 14 19:22:49 EDT 2007


On Wed, Mar 14, 2007 at 07:31:55PM +0000, Frederik Eaton wrote:
> Hello,
> 
> What is the proper technique for creating a Haskell script on a Unix
> system?

File.lhs:

#!/usr/bin/env runhaskell
\begin{code}
...
\end{code}

With a literate code file, the #! should cause no issues.

-- 
-- Matthew Danish -- user: mrd domain: cmu.edu
-- OpenPGP public key: C24B6010 on keyring.debian.org


More information about the Glasgow-haskell-users mailing list