intero: Complete interactive development program for Haskell

[ bsd3, development, program ] [ Propose Tags ]

[Skip to Readme]
Versions [faq] 0.0.0, 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.1.10, 0.1.11, 0.1.12, 0.1.13, 0.1.14, 0.1.15, 0.1.16, 0.1.17, 0.1.18, 0.1.19, 0.1.20, 0.1.21, 0.1.22, 0.1.23, 0.1.24, 0.1.25, 0.1.26, 0.1.27, 0.1.28, 0.1.29, 0.1.30, 0.1.31, 0.1.32, 0.1.33, 0.1.34, 0.1.35, 0.1.36, 0.1.37, 0.1.38 (info)
Change log CHANGELOG
Dependencies array, base (<5), bytestring, containers, directory, filepath, ghc (>=7.8 && <=8.6.3), ghc-boot-th, ghc-paths, ghci, haskeline, mtl, network, process, random, syb, time, transformers, unix, Win32 [details]
License BSD-3-Clause
Copyright 2016 FP Complete, 2016 Chris Done, 2012 Kazu Yamamoto, 2008 Claus Reinke, 2005 The University of Glasgow
Author Chris Done, The University of Glasgow
Maintainer chrisdone@fpcomplete.com
Category Development
Home page https://github.com/commercialhaskell/intero
Source repo head: git clone git://github.com/commercialhaskell/intero.git
Uploaded by ChrisDone at Wed Jan 9 20:39:30 UTC 2019
Distributions NixOS:0.1.38
Executables intero
Downloads 8963 total (158 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2019-01-09 [all 3 reports]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for intero-0.1.38

[back to package description]

intero Build Status Build status

Complete interactive development program for Haskell

Intero for Emacs

MELPA MELPA Stable

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-c | Evaluate the selected region 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

Install requirements

Make sure you have this package installed on Linux:

libtinfo-dev

(People on other platforms please contribute the equivalent dependency.)

Enabling intero

To enable intero in all haskell-mode buffers by default, enable intero-global-mode, by using M-x customize or by adding (intero-global-mode 1) to your Emacs start-up files.

Intero will then activate for all projects, and for files without a stack.yaml, it will assume the "global" project. If you want to use an alternate stack yaml configuration file (for example, when developing for multiple GHC versions), use M-x intero-stack-yaml to switch file. When switching configuration, you will asked whether you want to preserve this choice across emacs sessions for the given project.

Whitelisting/blacklisting projects

Some users prefer to enable Intero selectively. The custom variables intero-blacklist and intero-whitelist are provided for this purpose, and are honoured by intero-global-mode:

If the parent directory of a Haskell file is listed in intero-blacklist, then intero will not be enabled for that file, unless a parent directory of that file is also listed in intero-whitelist. In other words, whitelist entries take precedence. You can therefore blacklist / to disable intero in all projects unless they are whitelisted.

Intero support for other editors and IDEs

Although not supported by the Intero maintainers, integrations with other editors exist:

If you would like to build support into a new editor or IDE, please see TOOLING.md.