Exercism exercises in Clojure
This is the Clojure track, one of the many tracks on Exercism.
It holds all the exercises that are currently implemented and available for students to complete.
The track consists of various concept exercises which teach the Clojure syllabus, and various practice exercises, which are unlocked by progressing in the syllabus and can be used to practice concepts learned.
You can find this in the config.json
.
Next to the exercises, the Clojure track also consists of the following tooling:
- exercism/clojure-test-runner - The Exercism test runner for the Clojure track that automatically verifies if a submitted solution passes all of the exercise's tests.
- exercism/clojure-representer - The Exercism representer for the Clojure track that creates normalized representations of submitted solutions.
- exercism/clojure-analyzer - The Exercism analyzer for the Clojure track that automatically provides comments on submitted solutions.
The Clojure track uses babashka as its test runner, which is also how the exercises in this repository are verified.
Each exercise contains an example solution named example.clj
.
This file is run against the tests during verification.
After installing babashka, you can verify all exercises with:
$ bin/verify-exercises
{:tested 114, :fails ()}
Verify a single exercise with:
bin/verify-exercises {slug}
For example:
$ bin/verify-exercises bob
{:tested 1, :fails ()}
If you have any suggestions or comments, it is recommended to start a topic on the Exercism forum first.
For general information about how to contribute to Exercism, please refer to the contributing guide.