Hi,

I'm not sure if that relate to this problem so please ignore me if not.

I had to spend quite a lot of time understanding what the issue had, when as you I had forget to add an entry for `exposed-modules` and trying to build...
Basically I had an error saying that a symbol was missing or something like that (can remember the exact message), but every time I have that issue it take me a while to realise I have forget the entry...

I think it's not a type error, it's kind of a linking error maybe that's why the repl fail silently.

Anyway, I was wondering if it would be possible to give a more helpful error message in such case.

Cheers




On 6 August 2014 15:18, cheater00 . <cheater00@gmail.com> wrote:
Hi,
I have just spent some time trying to figure out why all of a sudden
"cabal repl" silently exits without an error message. What helped was
to take a project that could launch the repl and compare the cabal
files to my new project. It turns out the exposed-modules entry was
missing. I was wondering whether this behaviour was intentional, as I
don't recollect this happening before, but I don't have older systems
to test this on.

The reason I wanted to run a repl without editing exposed modules was
to test some dependencies I pulled in to the sandbox with cabal
install. The package in question didn't have any code of its own yet.
In this case I would just expect ghci to load with the Prelude.

Thanks!
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users



--
Λ\ois
http://twitter.com/aloiscochard
http://github.com/aloiscochard