何故か Haskell(GHC) install

port からインストールできないとよく見かけたけど
ghc 6.8.2 は portからインストール出来ました。

小一時間近く掛かっちゃったけど…

$ port search ghc
ghc                            lang/ghc       6.8.2        The Glorious Glasgow Haskell Compilation System
ghc-devel                      lang/ghc-devel 6.7          The Glorious Glasgow Haskell Compilation System (development version)
$ sudo port install ghc

...途中省略

$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.8.2
$ emacs hello.hs
main = putStrLn "Hello world!! > hello.hs"
$ ghc hello.hs -o hello
$ ./hello
Hello world!!