Exercism.io is a learning platform that combining coding challenges and mentors who review and advise on your solutions. Each challenge comes with Leinigen project that includes code and unit tests, although Exercism itself doesnt run those tests.
Use the Exercism CLI tool to download the Leinigen project for each challenge and use your preferred development tools to create the solutions. When feedback is required or you wish to share a solution, submit the code using the Exercism CLI tool. If tests are changed as well as source code, both files should be submitted.
In mentored mode your solutions are added to the mentors dashboard for review from any of the available mentors. In practice mode you can complete as many solutions as you wish without waiting for a mentor.
Getting Started: Exercism CLI tool
exercism download --exercise=exercise-name --track=clojure
Open the project in your preferred Clojure editor and write a solution to solve the tests in the exercise. Run the tests using Leiningen in the command line, using
lein test or the test runner in your editor.
exercism submit /path/to/src-file
Using Clojure CLI tools
With Clojure CLI tools installed, then simply add a
deps.edn file to the root directory of the Leiningen project downloaded by the Exercism CLI tool.
To run tests, use an alias such as
:test/runner from practicalli/clojure-deps-edn, an alias from your own
~/.clojure/deps.edn or add an alias directly to the project
deps.edn file just created.
practicalli/exercism-clojure-guides contains the design journal and solution to several Clojure exercises.