[racket] Fwd: Snooze & Transactions

From: Russell Adams (RLAdams at AdamsInfoServ.Com)
Date: Mon Dec 20 13:44:32 EST 2010

On Mon, Dec 20, 2010 at 07:31:59AM +0000, Noel Welsh wrote:
> Hi Russell,
> You'll find examples of transactions in the tests for it:
>   http://planet.plt-scheme.org/package-source/untyped/snooze.plt/2/8/snooze-transaction-test.ss
> It should be fairly simple to get working. Note that Snooze on Planet
> is ancient. Up-to-date but undocumented and hence unreleased code is
> here:
>   https://github.com/untyped/snooze
> The changes are not enormous, and the tests provide some examples.

I'm pleased to say I got it working, with a tremendous speedup.

As it turns out, I had incorrectly placed:

(provide (all-from-out (planet untyped/snooze:2))

after making my database object. While all the other calls continued
to work, call-with-transaction did not.


Russell Adams                            RLAdams at AdamsInfoServ.com

PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/

Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3

Posted on the users mailing list.