functional-koans / functional-koans/clojure-koans

Collection equality koan is confusing

Open
#158 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Clojure
Stars
3.8k
Forks
2.1k
PR merge metrics
No merged PRs in 30d

Description

I was a bit confused by the koan [here](https://github.com/functional-koans/clojure-koans/blob/809af93e354e5ea53c668f37dd0f249f771c9700/src/koans/04_vectors.clj#L32) because switching the value order of the list elements causes the test to fail. I'd like to propose either changing the koan to reflect the Clojure guides more closely by saying "Equality with **sequential** collections is in terms of value **and order**" or add distinct challenges for both ordered and unordered lists. What do you think?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.