On Jun 18, 2009, at 1:25 PM, Adam Blinkinsop wrote:
Does ref-set not set the "in-transaction-value"? It looks like the only difference is the signature, and that can't be right.
Both set the in-transaction value. ref-set sets a specific value. alter runs a function to transform the previous in-transaction value to a new one.
Clojure doesn't always offer only a minimal set of tools to work with its pieces. One could write ref-set in terms of alter, for example. The only practical difference would be a small additional cost in runtime.
--Steve
smime.p7s
Description: S/MIME cryptographic signature
