This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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
   idempotent.

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.

Agreed.

Regards,

        Neil

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]