Implemented serialization for generic-functions and hash-tables, added tests that can be run with (asdf:test-system :clobber).
Implemented commit and clear-uncommitted internal functions, useful to recover from unsuccessful transactions (due to typos or other bugs).
Rewrote the demos in a more modular way so that they can be read and understood more easily.
Added comments because the logic is a little intricated and clear explanations in the demos help to make the whole thing accessible (understandable).
Added demo3 to demonstrate with-atomic-logging that ensures the (execute ...) forms in its body are committed to the actual file only after all of the (execute ...) forms went through.
Implemented serialization for generic-functions and hash-tables, added tests that can be run with (asdf:test-system :clobber). Implemented commit and clear-uncommitted internal functions, useful to recover from unsuccessful transactions (due to typos or other bugs). Rewrote the demos in a more modular way so that they can be read and understood more easily. Added comments because the logic is a little intricated and clear explanations in the demos help to make the whole thing accessible (understandable). Added demo3 to demonstrate with-atomic-logging that ensures the (execute ...) forms in its body are committed to the actual file only after all of the (execute ...) forms went through.