haskell / haskell/haskell-mode

Unable to launch stack-ghci

Open
#1,572 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Emacs Lisp
Stars
1.4k
Forks
354
Avg merge
5d 10h
Merged PRs (30d)
2

Description

Haskell-mode is really, really nice. Thanks.

If I run "stack ghci" at the command line from within ~/code/Tidal/, I get a GHCI 8.2.1 REPL with a lot of libraries loaded. If I load a file from that folder into Emacs and run `M-x run-haskell`, I get a 7.10.3 REPL with only the Prelude. That's true even if I launch Emacs from within that folder.

Following the guidelines [here](http://haskell.github.io/haskell-mode/manual/latest/REPL.html), my .emacs file's Haskell-relevant portion looks like this:

(add-to-list 'load-path "~/.emacs.d/elpa/haskell-mode-16.1")
(custom-set-variables '(haskell-process-type 'stack-ghci))
(require 'haskell-mode)
(require 'package)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.