Clojure

IAtom interface

Details

  • Type: Enhancement Enhancement
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: Release 1.6
  • Fix Version/s: Release 1.7
  • Component/s: None
  • Labels:
    None
  • Patch:
    Code
  • Approval:
    Vetted

Description

Atom and the other reference types do not have interfaces and are marked final.

Use cases for interfaces for the reference types include database wrappers. CouchDB behaves exactly like compare-and-set! and is shared, synchronous, independent state, so it makes sense to use the Atom interface to update a CouchDB document.

I talked to Rich about this, and he said "patch welcome for IAtom", complete conversation: http://clojure-log.n01se.net/date/2010-12-29.html#10:04c

  1. 0001-atom-interface.patch
    28/May/11 3:39 AM
    3 kB
    Pepijn de Vos
  2. 0001-CLJ-803-IAtom-interface-static-Atom-swap.patch
    02/Aug/14 2:29 PM
    5 kB
    Brandon Bloom
  3. iatom.patch
    27/May/11 8:57 AM
    3 kB
    Pepijn de Vos

Activity

Pepijn de Vos made changes -
Field Original Value New Value
Attachment 0001-atom-interface.patch [ 10244 ]
Aaron Bedra made changes -
Assignee Aaron Bedra [ aaron ]
Fix Version/s Approved Backlog [ 10034 ]
Alex Miller made changes -
Fix Version/s Approved Backlog [ 10034 ]
Fix Version/s Backlog [ 10035 ]
Alex Miller made changes -
Fix Version/s Backlog [ 10035 ]
Brandon Bloom made changes -
Rich Hickey made changes -
Approval Vetted [ 10003 ]
Affects Version/s Release 1.6 [ 10157 ]
Fix Version/s Release 1.7 [ 10250 ]
Alex Miller made changes -
Assignee Aaron Bedra [ aaron ]

People

Vote (4)
Watch (5)

Dates

  • Created:
    Updated: