Nice thought.
Actually, this or something like this might be helpful in maintainting
invariants in the face of exceptions.
Though this is a tough problem especially in the face of threads.
Though versioned variables may be able to remove most of the locking
issues and move it down into the commit phase.
(But as always work is conserved. Somebody has to do the dirty work.)
<chaim>
>>>>> "PRL" == Perl6 RFC Librarian <[EMAIL PROTECTED]> writes:
PRL> =head1 TITLE
PRL> Transaction-enabled variables for Perl6
PRL> =head1 ABSTRACT
PRL> Transactions are quite important in a database-enabled application.
PRL> Professional database systems have transaction-handling inside, but
PRL> there are only a few laguage out there, what supports transactions
PRL> in variable level.
--
Chaim Frenkel Nonlinear Knowledge, Inc.
[EMAIL PROTECTED] +1-718-236-0183