I was able to compile your project using stack build(of course, after installing several dependencies on the system, such as llvm, cuda, fftw3, etc.) and load it using C-c C-lemacs.
Here is the minimal emacs configuration that worked for me:
(defun haskell-mode-setup ()
(setq haskell-process-type 'stack-ghci))
(add-hook 'haskell-mode-hook 'interactive-haskell-mode)
(add-hook 'haskell-mode-hook 'haskell-mode-setup)
, , inf-haskell-mode, interactive-haskell-mode,
(setq haskell-process-type 'ghci). , , emacs stack.
, - , , , : (setq haskell-process-path-stack "/path/to/stack").
, , $PATH, , , , . exec-path-from-shell emacs (exec-path-from-shell-initialize) ~/.emacs.
, , haskell . (setq haskell-process-log t) haskell-mode-setup, .
:
- ,
stack.yaml, , dirs /home/amcp011/local/, , gcc, RHEL6.3. - emacs
haskell-mode, . intero flycheck . stack upgrade haskell-mode, , . stack-1.5.1 haskell-mode-20170824.1124 emacs-25.2.2