get-in - Probe deeply nested sequences in Clojure

less than 1 minute read

Notes

cljuser> 
(get-in [1 [1 2 {:a "a" :b "b"}] 3] '(1 2 :a))
"a"
cljuser> 
(get-in [1 [1 2 {:a "a" :b "b"}] 3] '(1 2))
{:a "a", :b "b"}

Updated: