LoginSignup
4
0

More than 5 years have passed since last update.

Windows10でHaskellPlatformとAtom導入

Last updated at Posted at 2015-09-20

stack を使った Haskell 環境を構築済みだったのだが、Haskel Platform にフォールダウンした。Cholatey 来るかな来ないかな自分で作るかな。作っている人いるなとか。Platform はデブいから ghc でできないかなとかで半日コース使った結果。

Haskell Platform 導入

Haskel Platform は ghc にツール群をアペンドしたプラットフォーム。
Haskell からインストーラダウンロード。

ghc-mod 導入

cabal で ghc-mod 導入する。--globalオプションでC:\Program Files\Haskell\binに導入するよう指定している。
1. cabal update
2. cabal install cabal-install --global
3. cabal install ghc-mod --global

Atom 導入

Chocolatey 使って Atom 入れておく。

cinst atom

同じ Electron つながりの Visual Studio Code も cinst できる。

Atomプラグイン設定

Ctrl + Comma > install で language-haskell, haskell-ghc-mod 導入。
haskell-ghc-mod の setting から Ghc Mod Path、Ghc Modi Path を指定する。

C:\Program Files\Haskell\bin\ghc-mod.exe
C:\Program Files\Haskell\bin\ghc-modi.exe

関係ないけど haskell-ghc-mod のアップデートが頻繁過ぎてビビる。

4
0
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
4
0