Providing a smooth default user experience
Duncan Coutts
duncan.coutts at googlemail.com
Fri Nov 9 19:47:34 CET 2012
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
More information about the cabal-devel
mailing list