Weird order in sets in Clojure

前端 未结 2 1562
死守一世寂寞
死守一世寂寞 2021-01-26 05:37

So, I\'m trying to work my way through Brave Clojure. The third exercise consists on creating a map function but instead of returning a list it should return a set. OK, so there

2条回答
  •  感情败类
    2021-01-26 05:42

    Sets are by default unordered. Therefore your results are fine, they contain the right elements. In general order is not important for sets.

提交回复
热议问题