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

destructuring doesn't work on a sorted set

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Declined
    • Affects versions: Release 1.7
    • Fix versions: None
    • Labels:

      Description

      Destructuring doesn't work on a sorted set:

      (let [[head :as demoset] (sorted-set 1 2 3)] head)

      UnsupportedOperationException nth not supported on this type: PersistentTreeSet clojure.lang.RT.nthFrom (RT.java:933)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              alex+import import
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: