Lessons
Clojure · Easy
Clojure · Easy. Ten lessons. Open-book quizzes. Lesson 1 free.
10 lessons · The Host · Lesson 1 free
Pass all ten lessons for the certificate. Sample · Claim

Lesson 1 · On the house
Destructuring
Vector and map destructuring in let and fn params, :keys, :or and :as.

Lesson 2
Threading macros
-> threads first, ->> threads last, some->, and cond->.

Lesson 3
Function combinators
partial, comp, juxt, apply, complement, and constantly.

Lesson 4
Lazy and infinite sequences
iterate, repeat, cycle, take, take-while, and realizing with doall.

Lesson 5
Strings with clojure.string
split, join, replace with regex, trim, blank?, and format.

Lesson 6
Atoms for state
atom, deref/@, swap!, reset!, compare-and-set, and validators.

Lesson 7
Nested data
get-in, assoc-in, update-in, and paths into maps and vectors.

Lesson 8
Errors and ex-info
try/catch/finally, throw, ex-info with data, and ex-data.

Lesson 9
for and doseq
List comprehensions with :when, :let and :while; doseq for side effects.

Lesson 10
Sorting and grouping
sort, sort-by with keys and comparators, group-by, frequencies, partition.
Sample certificate
Certificate of completion
Sign in to claim your certificate of completion.
Certificate
Finish all ten lessons, then sign in
Pass every lesson on this device (quizzes and checks). Then sign in or create an account to type your name and download the JPG.