scripts on unix

Malcolm Wallace Malcolm.Wallace at
Thu Mar 15 05:56:33 EDT 2007

Frederik Eaton <frederik at> wrote:

> What is the proper technique for creating a Haskell script on a Unix
> system?
> $ cat test
> #!/usr/bin/env runhaskell
> module Main where
> main = do
>     putStrLn "hello world"

If you install hmake, and change 'runhaskell' to runhs, it works.


More information about the Glasgow-haskell-users mailing list