Clojure

Add transient? predicate

Details

  • Type: Enhancement Enhancement
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: Release 1.6
  • Fix Version/s: None
  • Component/s: None
  • Environment:
    N/A
  • Patch:
    Code and Test
  • Approval:
    Triaged

Description

I've encountered situations where I wanted to check whether something was transient in order to know whether I should call assoc! or assoc, conj! or conj, etc.

This patch adds `transient?` as a predicate fn.

Activity

Alex Miller made changes -
Field Original Value New Value
Labels function patch transient collections transient
Alex Miller made changes -
Approval Triaged [ 10120 ]
Devin Walters made changes -
Attachment 0001-Add-transient-predicate.patch [ 12883 ]
Devin Walters made changes -
Attachment 0001-Add-transient-predicate.patch [ 12881 ]
Devin Walters made changes -
Labels collections transient collections patch test transient
Alex Miller made changes -
Labels collections patch test transient collections transient
Alex Miller made changes -
Patch Code [ 10001 ] Code and Test [ 10002 ]
Devin Walters made changes -
Attachment 0002-Add-transient-predicate.patch [ 12892 ]
Devin Walters made changes -
Attachment 0003-Add-transient-predicate.patch [ 13200 ]

People

Vote (0)
Watch (4)

Dates

  • Created:
    Updated: