intero: Complete interactive development program for Haskell

[ bsd3, development, program ] [ Propose Tags ]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 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, 0.1.39, 0.1.40 (info)
Change log CHANGELOG
Dependencies array, base (<5), bytestring, containers, directory, filepath, ghc (>=7.8 && <=8.2.2), 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 2018-03-13T11:17:37Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables intero
Downloads 29887 total (117 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2018-03-13 [all 3 reports]

Readme for intero-0.1.29

[back to package description]

intero Build Status MELPA MELPA Stable AppVeyor 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-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

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 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.