mirror of
https://github.com/bitemyapp/learnhaskell.git
synced 2024-11-19 09:25:38 +00:00
1.4 KiB
1.4 KiB
Tools
Don't install or try to use ghc-mod if you're a beginner
It's a bit fragile, more than a bit slow, and it's not worth the grief.
Text Editors
-
Emacs
- Install haskell-mode
- Install flycheck
- Enable and configure Haskell, this can be just
(require 'haskell)
if you don't care about anything else. - Enable flycheck
- Symlink Stack to
/usr/bin
or otherwise make sure flycheck can find it - dunzo.
-
Vim
- We recommend Stephen Diehl's vim instructions but we suggest replacing ghc-mod with the below for now.
- For getting type errors in vim reliably (in lieu of ghc-mod)
autocmd FileType haskell setlocal makeprg=stack\ build
autocmd FileType haskell setlocal errorformat=%f:%l:%v:%m
from: https://github.com/ishiy1993/dotfiles/blob/master/.vimrc
-
Notepad++ has basic Haskell support built in.
-
gedit has basic Haskell support built in.
Other
- Haskell For Mac