
On Fri, 2012-11-02 at 16:52 +0100, Simon Hengel wrote:
Duncan,
Moreover, it would be awesome if it would regenerate generated source files on :reload. I'm not sure if this is feasible without changes to GHCi, but a custom macro, e.g.
:cabal-reload
could still work.
The GSoC project that started this off did that, and the necessary changes are in ghc now.
That is interesting. I'd be interested in how exactly that works. Is there a place where I can read about it? Or if not, can you point me to the related commits?
http://lambdasandwich.blogspot.co.uk/2011/08/ending-gsoc.html For the changes to ghci see the ghc git repo. Look for stuff related to .ghci file handling. That was the main extension needed, so we could specify a .ghci file on the command line. Duncan