[Haskell-cafe] `cabal repl` problems

Simon Hengel sol at typeful.net
Sat Nov 8 16:01:22 UTC 2014


Hi,

> Any ideas about those?

If your main objective is to use the package database from a sandbox,
you may find `cabal exec` in combination with a project specific .ghci
file a more viable option.


Here is an example:

    $ echo :set -isrc -itest > .ghci
    $ chmod go-w .ghci
    $ cabal exec ghci test/Spec.hs

Cheers,
Simon


More information about the Haskell-Cafe mailing list