Closed muhuk closed 8 years ago
Sorry, I haven't used or worked on stack ide in a long time - see the project status https://github.com/commercialhaskell/stack-ide#project-status
We will probably remove it from the stack
tool, particularly once https://github.com/chrisdone/intero or https://github.com/haskell/haskell-ide-engine comes to fruition and direct stack support is added.
Thanks for the info @mgsloan . I will try to get ghc-mod
working next.
Good luck! Personally, I have not had success with ghc-mod
. I quite like ghci-ng
, though, rebranded intero yesterday - https://github.com/chrisdone/intero - and ghcid.
Stack does not yet provide a convenient way to run ghcid, but it probably will soonish. See https://github.com/commercialhaskell/stack/issues/1948
So, are you suggesting I should try Intero AND ghcid? I am a n00b, so I don't really know what functionality either provides.
Yeah, intero is a replacement for ghci, whereas ghcid is something that runs ghci. Sorry for the confusion here, we are still working on building up good editor tooling.
How about just skipping intero and using ghcid + ghci?
But do they replace stack-mode?
I am trying to interactively compile (and see errors) inside Emacs.
Running stack install ghc-mod
a few times (tweaking cabal file & stack.yml according to the errors) inside a project seems to do the work. (And I think it's not project specific now since the executable is copied to bin)
Thanks for the help @mgsloan . Stack rocks!
Any stack related commands I use, hangs indefinitely. Until I
C-g
.I am using (Debian Stretch)
emacs24 24.5+1-6+b2
,haskell-stack 1.0.0-1
,haskell-mode 13.14.2-1
.Steps to reproduce:
Created an empty stack project:
cd ~/tmp stack new repro
~/tmp/repro/src/Lib.hs
Added:
f = 1 g = f
f
didM-.
This is the contents of
*stack:repro*
:The last line (
[nil] ~> ...
) appears only after IC-g
.I would appreciate any help in debugging & fixing this.