Comment by anon_d
12 years ago
I've settled into the following workflow:
ghci Module.hs
*mess around*
:e *this opens Module.hs in vim, and reloads afterwords.*
*mess around some more*
It's the best programming work-flow I've found in any language.
With emacs and haskell-mode, I just open a Haskell buffer, and C-c C-l (control-c control-l). This will reload that buffer into another buffer that runs GHCi, creating it if it doesn't exist and using the existing one if it does.