Cabal question: Generated data files

Bart Massey bart at
Wed Aug 20 14:17:20 EDT 2008

Neil Mitchell <ndmitchell <at>> writes:
> If I do
> generate databases, it will have to be unconditionally, which seems
> like an awful waste of time even if nothing has changed. Generating
> databases takes around a minute.

Have your database generator do the check itself by inserting some
version marker for the databases, or whatever?  If the databases exist
and are compatible, just touch them instead of regenerating them.

Ugly, but should work.

    Bart Massey
    bart at

More information about the Libraries mailing list