On Tue, Sep 30, 2008 at 11:05 PM, Nicolas Pouillard
<[EMAIL PROTECTED]> wrote:
> Excerpts from Jean-Philippe Bernardy's message of Tue Sep 30 21:29:14 +0200 
> 2008:
>>
>> From here the "reload" function /should/ be working.
>>
>> Caveats:
>>   * does not work on OSX (but you can restart manually by passing --resume)
>
> Fails about ~/.yi/status when ~/.yi does not exist.

I'll fix this.

> Then I get "error: yi: executeFile: unsupported operation (Operation not
> supported)" but that's certainly the OSX related thing.

Yep. This might be fixable by killing all the threads (but the current
one) before exec.

> The --resume seems to boot successfully.
>
> However maybe the save/quit actions should affect the status file, either by
> killing it, or by updating it.
>
> The history seems to not be saved.

The dynamic state can't be saved, and I don't see any way out of
that without changes to GHC. The reason is that types cannot be recovered
from their representation.

> Nevertheless nice work!!!

Thanks. :)


>>   * I'm not sure I like the way binary instances are implemented via
>> "derive" tool.
>
> Why not?

Derive is very fragile in as a standalone tool (I had to tune imports
and a few other things),
so re-deriving is a bit of an arcane process, and is therefore not
integrated with the build.
the template-haskell backend is out of the question (for the moment)
because it requires to
use the same version of bytestring as GHC. This might be ok when the
Haskell Platform is
done.

>>   * It's available through function reloadEditor; not sure if that's
>> bound in vim.
>
> We have :reload, and the more general :yi reloadEditor

Great!
-- JP

--~--~---------~--~----~------------~-------~--~----~
Yi development mailing list
[email protected]
http://groups.google.com/group/yi-devel
-~----------~----~----~----~------~----~------~--~---

Reply via email to