Complete interactive development program for Haskell
It's basically GHCi plus extra features. Those are:
- Find uses of an identifier in a module.
- Find definition of an identifier in a module.
- Show the type of an expression or identifier.
- List all types of all expressions of all modules loaded.
Probably more to come.
The following dependencies are necessary:
-
The
tinfo
andncurses
library.-
Ubuntu and Debian users can install it using the following command:
$ apt-get install libtinfo-dev $ apt-get install libncurses5-dev
-
Standard:
$ stack build intero
From source:
$ git clone https://github.com/chrisdone/intero.git
$ cd intero
$ stack build intero
To run it plainly use:
$ stack exec intero
You'll have to run stack build intero
within each separate LTS
version you use, this ensures that the intero you launch correctly
matches the GHC version that you're working with.
To load up your stack project use:
$ stack ghci --with-ghc intero
Intero been built and tested on the following GHC versions:
- GHC 7.8.4
- GHC 7.10.2
- GHC 7.10.3