LoginSignup
1
1

More than 5 years have passed since last update.

neomake で ghc-mod が使いたい!

Last updated at Posted at 2017-05-18
  1. まずはstack を入れる
  2. stack setup をしてみる
  3. stack install ghc-mod で ghc-mod を入れる
  4. ~/.local/bin の中に ghc-mod が有ることを確認して パスを通す
  5. neomake で 'ghcmod' を指定する
  6. プロジェクトルートで stack exec -- ghc-mod root を叩いてみる
  7. できそう!

追記

ghc のバージョンとghc-mod のバージョンが合わない時は

stack.yaml
resolver: lts-7.16 # ghc 8.0.1 にする場合(環境に合わせる)

を追記する

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