The standard library makelib_state package implements dumping and resetting of the global state of the Mythryl make / compile system. makelib_state is an exported subpackage of the makelib package.
The makelib_state package api is defined as part of the Makelib api.
The makelib_state package source code is part of makelib_g in src/app/makelib/main/makelib-g.pkg The above information is manually maintained and may contain errors.
api { clear_state : Void -> Void; dump : String -> Void; dump_latex : {directory:String, filename_prefix:String, filename_suffix:String} -> Void;};