[Haskell-cafe] Emacs (was stack and the Atom editor)

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Mon Apr 11 11:49:55 UTC 2016


On 11 April 2016 at 15:03, Rustom Mody <rustompmody at gmail.com> wrote:
>
>
> On Sun, Apr 10, 2016 at 7:33 PM, Gracjan Polak <gracjanpolak at gmail.com>
> wrote:
>>
>> Rustom Mody <rustompmody <at> gmail.com> writes:
>>
>> > The old comint interface and new λ one -- when does which kick in
>>
>> There are quite some people out there using inf-haskell (comint) and
>> larger
>> number of interactive-haskell-mode users.
>
>
> 1. Start in a foo.hs file
> 2. Load file
> 3. I get the lambda interface
>
> Instead
> M-x run-haskell
> I get old interface
>
>
> How do I get one uniform interface?

By not using run-haskell?

I load up a file in Emacs.  I use C-c C-l to load the file (which
starts a new project if need be), and C-c C-r to reload it if I've
changed it.

I do have various customisations enabled (e.g. using
structured-haskell-mode) but that's fundamentally how I interact with
a ghci process (though ebal is definitely handing for setting up
sandboxes and installing dependencies).

-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
http://IvanMiljenovic.wordpress.com


More information about the Haskell-Cafe mailing list