haskell/haskell-mode — pull request #93 by sheyll (2012-11-20 22:10:20+00:00)
Title: Cabal autogen searchpath

Hi

First of all thanks for haskell-mode, it was very helpful in my daily work, and well written.

I made two little changes:

1. When using haskell-process-load-file in a module depending on the 'Path_...' module generated by cabal, ghci complained that the module 'Path...' was missing.
I changed in haskell-process.el that the ghci search path is extended by the path to the auto generated modules after each 'haskell-process-cabal-build' .

2. I improved haskell-process.el to use a common lisp struct for 'haskell-command', I also removed some unused parameters and some unused code.

Thanks again for the inspiriation; the way you build that command queue to comsume process output is really brilliant, and I will try to integrate that in my upcoming erlang emacs mode.