[Haskell-cafe] ANN: scion 0.1

Johan Tibell johan.tibell at gmail.com
Thu Aug 27 10:57:47 EDT 2009

On Thu, Aug 27, 2009 at 11:44 AM, Thomas
Schilling<nominolo at googlemail.com> wrote:
> On 27 Aug 2009, at 09:17, Johan Tibell wrote:
>> Also, I tried to play with the scion-open-cabal-project function. I'm
>> not sure I understand how it's intended to be used. Does it make sure
>> that if you compile a file using C-c C-x C-l the right source
>> directories are used? Could you give a usage example?
> I eventually want to get rid of it and let scion-load figure out itself when
> the project needs to be reconfigured.  At the moment you have to delete the
> .dist-scion directory if you changed your .cabal file. :/

My question was probably a bit unclear so let me try to clarify it.
What's the purpose of scion-open-cabal-project? Does it set the
include path used for subsequent scion-loads? What's the ".dist-scion"
directory and how does it differ from the normal "dist" directory?

>> One problem I frequently have with emacs-mode is that you can't use it
>> to load a file if
>>  * your sources don't live in the same directory as the Cabal file, or
> Actually, the latest version of haskell-mode has some heuristics.  It sets
> the working directory to where the .cabal file lives.

Right. I meant if I don't root my source files in the same directory
as the Cabal file it won't work.



More information about the Haskell-Cafe mailing list