LoginSignup
11
11

More than 5 years have passed since last update.

Windows上のAtomで Haskell開発環境を整える。

Last updated at Posted at 2016-07-21

Haskell IDE の dependencyが若干めんどくさいのでメモ。

Results

キャプチャ.PNG

Prerequisites:

  • atom

Instructions

Step 1: Install Haskell platform

Haskell Platform Install Link
ここで Fullをインストールする。

Step 2: Install dependencies

cmd を開いて、C:\Users\User>stack と入れて色々と長い --help的なのが出たらStep 1は成功。

stack setupでghcのバージョンをそろえる必要があるかもしれません。

stack install ghc-mod
stack install stylish-haskell
stack install hlint

結構時間かかりますけど以上3つをインスコ。恐らく C:\Users\{User}\AppData\Roaming\local\binにバイナリが入っているはず。

Step 3: Set PATH variable

参考までに:Windows 環境変数 Path の設定方法

先ほどのC:\Users\{User}\AppData\Roaming\local\binにパスを通します。

Step 4: Install Atom packages

  • autocomplete-haskell
  • haskell-ghc-mod
  • ide-haskell
  • ide-haskell-repl
  • language-haskell
  • linter
  • linter-hlint

以上で特に問題なくAtomのHaskell環境がいい感じになりました。

11
11
0

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
11
11