If you want to play around with IHaskell by loading it into GHCi, you need to include the ghc package and the cabal macros file. cabal_macros.h is generated by the ```cabal build``` command and the file is placed in the build directory. You will also need to use the OverloadedStrings language extension. So if you are at the top level of the IHaskell project, you can load GHCi as follows:
**Using cabal repl**
If you have the latest version of cabal (>v1.18.0), the simplest thing to do is
```bash
cd <path-to-IHaskell>
cabal repl
```
**Using GHCi directly**
Alternatively you can just call ghci with the appropriate options. You can find these in the IHaskell.cabal file.
@@ -118,13 +130,11 @@ or you can create a .ghci file in the top level directory, like so:
```
**Using cabal-dev instead:**
Another option is to use [cabal-dev](https://github.com/creswick/cabal-dev/blob/master/README.md) instead of cabal. This creates a sandboxed environment within the project directory. This avoids dependency conflicts. But it does take a little while to download and install all the dependencies. You can also use cabal-dev to call ghci with all the cabal options automatically imported.