> >  * added experimental support for adding custom modules in ~/.yi/ for use 
> > in yi.hs
>
> >  This patch allows placing further private modules in ~/.yi/ to be used
> >  by yi.hs and recompile configuration everytime one Source-file was touched.
>
> >  This patch is kind of controversial since:
> >      - removed "-i" flag from ghc --make to find all modules
>
> I think putting the current directory in the search path is definitely
> not acceptable: it's hard enough to tell which version of the code is
> running. If it depends on `pwd` it's going to be even worse. It would
> be ok to add a fixed path to the search path tough.
>
It's not depending on `pwd`. The code already ensures that ghc is
running inside
$HOME/.yi and therefore all additional modules must reside in
$HOME/.yi


> >      - ghc --make is run on every startup, since ghc --make
> >        tests for file changes obeying module dependencies
>
> How slow/fast is this?
>
On my system it seems to be fast, but it would be nice to measure how
fast/slow it really is thus others may test it too.
Is there a simple way of measuring startup time?

cheers
--~--~---------~--~----~------------~-------~--~----~
Yi development mailing list
yi-devel@googlegroups.com
http://groups.google.com/group/yi-devel
-~----------~----~----~----~------~----~------~--~---

Reply via email to