[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Only expose final results



We've split up some of the long running calculations, so now they're
written out to cache files (by Nix) and subsequent uses depend on these
cache files.

Each cache file is generated by a script. At the moment, these scripts
just call one procedure each, exposed by the library modules. We should
change this so that these procedures are defined in those scripts
instead of in the library, and any script-specific definitions and tests
can be moved across as well.

That way, we unpollute the library; leaving only generically-useful
definitions and cache-reading (hence: fast) procedures, which are harder
to mis-use.