Skip to content

Latest commit

 

History

History
59 lines (42 loc) · 1.74 KB

README.md

File metadata and controls

59 lines (42 loc) · 1.74 KB

exploring-clojure

Template project for interactive exploration of Clojure. Will gather a kitchen sink of dependencies over time.

Usage

Start a REPL and try something.

Clojure in Ten Big Ideas

Code samples that follow Clojure in Ten Big Ideas.

Except where otherwise noted, these are all in the examples/exploring directory, and intended to be interactively invoked, one form at a time, from the REPL.

  • edn: data_formats.clj
  • persistent data structures: persistent_data_structures.clj
  • unified succession model:
  • sequences:
  • protocols: rps_protocols.clj
  • ClojureScript: see below
  • reducers: reducing_apple_pie.clj
  • core.logic: rock_paper_scissors.clj
  • datalog: clone the day of datomic repo and follow the README instructions
  • core.async: clone the core.async repo and work through the examples directory.

Generative Testing

Run generative tests

lein run -m run-tests

Other things to try

  • Keep a copy of the Clojure cheatsheet handy.
  • TryClojure will let you try Clojure in the browser, without any local setup required.
  • 4Clojure provides step-by-step interaction with immediate feedback.

ClojureScript

License

Copyright © 2013 Stuart Halloway

Distributed under the Eclipse Public License, the same as Clojure.