Skip to content

Instantly share code, notes, and snippets.

@rm--
Last active November 29, 2015 09:45
Show Gist options
  • Select an option

  • Save rm--/4f981e2ac017edfb78da to your computer and use it in GitHub Desktop.

Select an option

Save rm--/4f981e2ac017edfb78da to your computer and use it in GitHub Desktop.
atom linter-hlint package

global installation of:

cabal install happy
cabal install ghc-mod
apm install linter
apm install language-haskell
apm install linter-hlint
  • Edit -> Preferences -> Packages
  • Search for haskell-ghc-mod, click Settings
  • Scroll down to Ghc-Mod Path -> copy and paste result of which ghc-mod
  • Scroll down to Ghc-Modi Path -> copy and paste result of which ghc-modi
  • Ensure Enable Ghc Modi is ticked (enabled)
  • Now close ALL tabs/files *
  • Restart atom and open Haskell file. It should work.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment