Skip to content

Instantly share code, notes, and snippets.

@jonase
Created March 27, 2013 04:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonase/5251620 to your computer and use it in GitHub Desktop.
Save jonase/5251620 to your computer and use it in GitHub Desktop.
(walk-term [1 {1 1} [1 1 1] #{1 2 3} (l/llist 1 1 1)]
(fn [expr]
(if (number? expr)
(inc expr)
expr)))
;; => [3 {3 3} [3 3 3] #{1 2 3} (2 1 . 1)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment