LoginSignup
19

More than 5 years have passed since last update.

IntelliJでHaskell

Last updated at Posted at 2016-05-23

如法会 1の発表資料です。
IntelliJ IDEAのHaskellの開発環境を試したので、その際の構築手順です。s

最近はstackをインストールするだけでghcが使える。
なので、stackをインストールする。macOSの場合はhomebrewを使ってインストールできます。

$ brew install haskell-stack

他の環境や別のインストール方法は公式のドキュメントなどをご覧ください。
https://docs.haskellstack.org/en/stable/README/

IntelliJIDEAが利用するhaskellのパッケージをインストールする。

$ stack install hlint ghc-mod haskell-docs

IntelliJ IDEAをインストールする。
起動後 intelliJ-Haskellプラグインをインストールする。
現状、stackに対応してるプラグインはこれの模様。

参考

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
19