diff options
author | Rich Hickey <richhickey@gmail.com> | 2008-07-17 10:30:56 +0000 |
---|---|---|
committer | Rich Hickey <richhickey@gmail.com> | 2008-07-17 10:30:56 +0000 |
commit | 2fdc872da1d177cbf63765a638112e0e4f6458c6 (patch) | |
tree | f198929062a6c3f1d85db26e024015f29b840233 /src | |
parent | e35364ccc5ef1544383698fb56a514872a8c1ed8 (diff) |
added doc for return value of alter and commute
Diffstat (limited to 'src')
-rw-r--r-- | src/boot.clj | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/boot.clj b/src/boot.clj index 15fe376f..89cda99d 100644 --- a/src/boot.clj +++ b/src/boot.clj @@ -1016,6 +1016,8 @@ (apply fun in-transaction-value-of-ref args) + and returns the in-transaction-value of ref. + At the commit point of the transaction, sets the value of ref to be: (apply fun most-recently-committed-value-of-ref args) @@ -1031,7 +1033,9 @@ "Must be called in a transaction. Sets the in-transaction-value of ref to: - (apply fun in-transaction-value-of-ref args)" + (apply fun in-transaction-value-of-ref args) + + and returns the in-transaction-value of ref." [#^clojure.lang.Ref ref fun & args] (. ref (alter fun args))) |