lib/mlrisc-lib/MLRISC/library/transaction-glue.sml
raw| 1 | (* |
| 2 | * Basic kinds of undoable imperative data structures |
| 3 | * -- Allen |
| 4 | *) |
| 5 | |
| 6 | structure Transaction = TransactionFn(TransactionLog) |
| 7 | |
| 8 | structure UndoableRef = UndoableRefFn(TransactionLog) |
| 9 | |
| 10 | structure UndoableArray = UndoableArrayFn(structure Array = Array |
| 11 | structure Log = TransactionLog) |
| 12 |