Labels

Monday, 26 February 2007

Haskell Compiling & Running

To compile a haskell program into a single executable using ghc: ghc --make main.hs -o main. Then, to execute the program type: ./main [main args]

No comments: