This is the mail archive of the
mailing list for the Guile project.
Re: Dumping and restoring side-effects
Greg Troxel writes:
I'm not sure fresheners can work with all external objects given my
invariant checker/freshener idea; not all external APIs are
XAllocColor, for example. In general you don't know which colorcell
you will get back.
But it sounds like you are proposing a freshener to
recreate external state when it is known that the external state is
nonexistent; this is easier than an unknown/untrusted external state.