Skip to content

x/sort-by bug in CLJS #40

@den1k

Description

@den1k

This only happens in CLJS

(= (sort-by identity > (shuffle (range 100)))
   (into [] (x/sort-by identity >) (shuffle (range 100))))

;; => false

Input is returned unchanged:

(into [] (x/sort-by identity >) [3 2 0 4 8 5 6 7 1 9])
;; => [3 2 0 4 8 5 6 7 1 9]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions