Uploaded image for project: 'Clojure'
  1. CLJ-1581

Inconsistent behavior in transient sets: they should allow contains?

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects versions: Release 1.6, Release 1.8
    • Fix versions: None
    • Labels:
    • Patch:
      Code and Test

      Description

      Transient maps and sets retain the behavior of persistent maps and sets.

      When threading operations on transient sets, it is unfortunately impossible to test for membership, since the implementation of contains? defers to contains in clojure.lang.RT which does not

      There are several solutions for this, I chose to extend contains in clojure.lang.RT to handle ITransientSet

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pyr Pierre-Yves Ritschard
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: