An interactive problem website for learning Clojure: https://www.4clojure.com.
Anyone interested in contributing should check out the Issues page for ideas on what to work on.
Join us in #4clojure on freenode for help or discussion.
-
Download and install leiningen.
-
Download and install mongodb.
-
The project uses clojail, which requires a security policy setup in your home directory (because Clojure's
evalis unsafe if used improperly). Set up a file called.java.policyin your home directory. The contents should look vaguely like this:grant { permission java.security.AllPermission; };but see the readme of that project for more details.
-
cd to the 4clojure project directory and run
lein deps. -
Start up your mongodb, if you don't have autostart:
mongod -
For the first time use, you will need to load the problem data. Run the script
load-data.sh:./load-data.sh -
Run
lein ring server -
To run the tests:
lein test
- David Byrne (dbyrne)
- Alan Malloy (amalloy)
- Anthony Grimes (raynes)
- Carin Meier (cmeier)
- Clint Harrison (clinteger)
- Darren Austin (darren)
- David Davis (daviddavis)
- Devin Walters (devn)
- Michael Kohl (citizen428)
- Martin Sander (0x89)
- Alex McNamara (amcnamara)
- Ara Jeknavorian (arajek)
Problem sources:
- Aaron Bedra's Clojure Koans
- Ninety-Nine Lisp Problems
- Project Euler
The source code for 4clojure is available under the Eclipse Public License v 1.0. For more information, see LICENSE.html.