On Tue, Feb 24, 2009 at 5:00 AM, Gwern Branwen <gwe...@gmail.com> wrote:

> After a fair bit of hacking, that turned out to be a workable
> solution. I just stored ArticleDB in it (don't need anything else).
> Had a bit of trouble working out the monads and was shortly flummoxed
> by the Initializable stuff

>(until I realized that that typeclass was
> how the case of no-defined-variable was handled, by calling the
> 'initial' function)

It would help if you documented the parts that were opaque to you;
a patch with haddock comments would be great.

> But the initial load is still several seconds. How would Data.Binary
> help there? Is it intended to be a faster version of '(read $ readFile
> foo) :: ArticleDB)'?

Yep.

Cheers,
-- JP.

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

Reply via email to