intero

Complete interactive development program for Haskell

https://github.com/commercialhaskell/intero

Version on this page:0.1.20@rev:1
LTS Haskell 9.21:0.1.24
Stackage Nightly 2017-11-22:0.1.23
Latest on Hackage:0.1.40

See all snapshots intero appears in

BSD-3-Clause licensed by Chris Done, The University of Glasgow
This version can be pinned in stack with:intero-0.1.20@sha256:144efed4811883db90813e73814074f1b1527d49c62b24f7583e693ef168f8b9,1867

Module documentation for 0.1.20

There are no documented modules for this package.

intero Build Status

Complete interactive development program for Haskell

Intero for Emacs

Please see the homepage for Intero for Emacs.

Default key bindings

Key binding Description
M-. Jump to definition
C-c C-i Show information of identifier at point
C-c C-t Show the type of thing at point, or the selection
C-u C-c C-t Insert a type signature for the thing at point
C-c C-l Load this module in the REPL
C-c C-r Apply suggestions from GHC
C-c C-k Clear REPL
C-c C-z Switch to and from the REPL

Whitelisting/blacklisting projects

Typically Intero will enable for all projects, and for files without a stack.yaml, it will assume the “global” project. Some users prefer to enable Intero selectively. See below how to do that.

Find this line in your Emacs configuration and remove it:

(add-hook 'haskell-mode-hook 'intero-mode)

To whitelist specific directories (and ignore everything else), use:

(setq intero-whitelist '("/work/directories/" "/my/directories/"))
(add-hook 'haskell-mode-hook 'intero-mode-whitelist)

To blacklist specific directories (and allow everything else), use:

(setq intero-blacklist '("/path/to/bad/project" "/path/to/ignore/me"))
(add-hook 'haskell-mode-hook 'intero-mode-blacklist)

Intero for IDE writers

Please see the TOOLING.md file for how to use Intero to integrate your own editor..

Issues

Issues are split into low/medium/high priorities which dictates which ones will be implemented first.