Haskellの実行方法

Hello.hs

main = putStrLn "hello"
ghc -e main Hello.hs
runghc Hello.hs
ghc -o Hello Hello.hs
#これはできなかった
ghc --make Hello.hs