Clojure

protocol-ize with-open

Details

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

Description

Good use (and documentation example) of protocols: make with-open aware of a Closable protocol for APIs that use a different close convention. See http://groups.google.com/group/clojure/browse_thread/thread/86c87e1fc4b1347c

Activity

Tassilo Horn made changes -
Field Original Value New Value
Attachment 0001-Implement-CLJ-308-Added-a-CloseableResource-protocol.patch [ 10754 ]
Tassilo Horn made changes -
Attachment 0001-Added-ClosableResource-protocol-for-with-open.patch [ 10986 ]
Tassilo Horn made changes -
Attachment 0001-Implement-CLJ-308-Added-a-CloseableResource-protocol.patch [ 10754 ]
Andy Fingerhut made changes -
Patch Code [ 10001 ]
Priority Blocker [ 1 ]
Tassilo Horn made changes -
Andy Fingerhut made changes -
Priority Blocker [ 1 ] Minor [ 4 ]
Tassilo Horn made changes -
Attachment 0001-Added-ClosableResource-protocol-for-with-open.patch [ 10986 ]
Alex Miller made changes -
Fix Version/s Backlog [ 10035 ]
Alex Miller made changes -
Labels io
Alex Miller made changes -
Approval Triaged [ 10120 ]
Reporter Assembla Importer [ importer ]

People

Vote (6)
Watch (4)

Dates

  • Created:
    Updated: