You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.4 KiB
Markdown

# 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](https://github.com/bitemyapp/dotfiles/blob/master/.emacs#L31)
- [Install flycheck](https://github.com/bitemyapp/dotfiles/blob/master/.emacs#L29)
- Enable and configure Haskell, this can be just `(require 'haskell)` if you don't care about anything else.
- [Enable flycheck](https://github.com/bitemyapp/dotfiles/blob/master/.emacs#L97)
- Symlink Stack to `/usr/bin` or otherwise make sure flycheck can find it
- [dunzo.](https://twitter.com/bitemyapp/status/693621160571985920)
8 years ago
- Vim
- We recommend [Stephen Diehl's vim instructions](http://www.stephendiehl.com/posts/vim_2016.html) but we suggest replacing ghc-mod with the below for now.
8 years ago
- For getting type errors in vim reliably (in lieu of ghc-mod)
8 years ago
```
autocmd FileType haskell setlocal makeprg=stack\ build
autocmd FileType haskell setlocal errorformat=%f:%l:%v:%m
```
8 years ago
from: https://github.com/ishiy1993/dotfiles/blob/master/.vimrc
- [Sublime Text](https://github.com/SublimeHaskell/SublimeHaskell)
- [Atom](https://atom.io/packages/ide-haskell)
- [IntelliJ](https://github.com/carymrobbins/intellij-haskforce)
- Notepad++ has basic Haskell support built in.
- gedit has basic Haskell support built in.
## Other
- Haskell For Mac