Skip to content

Instantly share code, notes, and snippets.

View dco-lentz's full-sized avatar

Dan Lentz dco-lentz

View GitHub Profile
@dco-lentz
dco-lentz / 00_destructuring.md
Last active August 29, 2015 14:27 — forked from john2x/00_destructuring.md
Clojure Destructuring Tutorial and Cheat Sheet

Clojure Destructuring Tutorial and Cheat Sheet

(Related blog post)

Simply put, destructuring in Clojure is a way extract values from a datastructure and bind them to symbols, without having to explicitly traverse the datstructure. It allows for elegant and concise Clojure code.

Vectors