Skip to content
Example projects and sample code featured in Clojure Programming (1st ed.) from O'Reilly
Clojure Java
Find file
Latest commit bcc7c58 Sep 9, 2013 @cemerick cemerick fix recursive odd?/even?
Failed to load latest commit information.
ch03-array-set make array-set runnable Apr 3, 2012
ch03-game-of-life Game of life projectified (fix #7), todo: a hex run target Apr 11, 2012
ch04-concurrency-game break apart concurrency examples into separate projects Apr 3, 2012
ch04-concurrency-webcrawler break apart concurrency examples into separate projects Apr 3, 2012
ch08-lein-mixed-source explicitly return result of `compile` for tasks that check for it (e.… Apr 4, 2012
ch08-leiningen chapter 8 example projects tweaked Apr 3, 2012
ch08-maven add missing pom.xml files, fix top-level .gitignore to not ignore them! Apr 4, 2012
ch09-annotations add missing pom.xml files, fix top-level .gitignore to not ignore them! Apr 4, 2012
ch09-gen-class explicitly return result of `compile` for tasks that check for it (e.… Apr 4, 2012
ch09-interop add missing pom.xml files, fix top-level .gitignore to not ignore them! Apr 4, 2012
ch11-mandelbrot ch11 mandelbrot project tweaks Apr 4, 2012
ch12-aspectj/src/com/clojurebook reorg into reader-recognizable structure Apr 2, 2012
ch14-rdbms reorg into reader-recognizable structure Apr 2, 2012
ch15-couchdb reorg into reader-recognizable structure Apr 2, 2012
ch16-web-leiningen reorg into reader-recognizable structure Apr 2, 2012
ch17-webapp-lein reorg into reader-recognizable structure Apr 2, 2012
ch17-webapp-maven add maven webapp packaging info to README Apr 4, 2012
.gitignore add missing pom.xml files, fix top-level .gitignore to not ignore them! Apr 4, 2012
README.md main README update Apr 5, 2012
ch01-welcome-repl-interactions.clj fix recursive odd?/even? Sep 9, 2013
ch02-FP-repl-interactions.clj dump of REPL interactions and other inline code snippets Apr 3, 2012
ch03-collections-repl-interactions.clj Add missing call to neg? in compare-magnitude Aug 29, 2013
ch04-concurrency-repl-interactions.clj dump of REPL interactions and other inline code snippets Apr 3, 2012
ch05-macros-repl-interactions.clj dump of REPL interactions and other inline code snippets Apr 3, 2012
ch06-datatypes-repl-interactions.clj Fix typo, missing curly Aug 29, 2013
ch07-multimethods-repl-interactions.clj dump of REPL interactions and other inline code snippets Apr 3, 2012
ch08-projects-repl-interactions.clj dump of REPL interactions and other inline code snippets Apr 3, 2012
ch09-interop-repl-interactions.clj dump of REPL interactions and other inline code snippets Apr 3, 2012
ch10-REPL-oriented-repl-interactions.clj dump of REPL interactions and other inline code snippets Apr 3, 2012
ch11-maths-repl-interactions.clj dump of REPL interactions and other inline code snippets Apr 3, 2012
ch12-patterns-repl-interactions.clj Typo in defrecord example Aug 29, 2013
ch13-testing-repl-interactions.clj dump of REPL interactions and other inline code snippets Apr 3, 2012
ch14-rdbms-repl-interactions.clj Change :username to :user, to comply with JDBC Aug 29, 2013
ch15-couchdb-repl-interactions.clj dump of REPL interactions and other inline code snippets Apr 3, 2012
ch16-web-repl-interactions.clj dump of REPL interactions and other inline code snippets Apr 3, 2012
ch20-nextsteps-repl-interactions.clj dump of REPL interactions and other inline code snippets Apr 3, 2012
epl-v10.html explicitly set EPL license, fixes gh-4 Apr 4, 2012

README.md

The official repository of sample projects and example code featured in Clojure Programming.

Please note that this repo is in flux. We have moved all of the code from the book and the sample projects over from O'Reilly's repository. The REPL interaction files for each chapter might come in handy if you are working from the print book, but still want to copy/paste code into a REPL; the projects from each chapter are self-contained examples highlighting different aspects of working with Clojure in different domains.

You can take a look at the issues on this repo to get a sense of what's left to be done. If you see any problems, by all means submit a new issue.

Of course, please feel free to watch this repo, follow @ClojureBook on Twitter, or subscribe to the book's mailing list on clojurebook.com to be notified when significant changes and improvements happen here.

License

Copyright © 2012 Chas Emerick, Brian Carper, and Christophe Grand.

Distributed under the Eclipse Public License (see included epl-v10.html), the same as Clojure.

Something went wrong with that request. Please try again.