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

Rustom Mody rustompmody at gmail.com
Tue Apr 12 11:41:15 UTC 2016


On Mon, Apr 11, 2016 at 5:19 PM, Ivan Lazar Miljenovic <
ivan.miljenovic at gmail.com> wrote:

> 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 figured that much out; viz that even if I dont need a file immediately I
need to create a dummy hs file and load it.



> 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).
>

Sorry couldn't quite parse last sentence
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20160412/b9899397/attachment.html>


More information about the Haskell-Cafe mailing list