jackdempsey (owner)

Revisions

gist: 140751 Download_button fork
public
Public Clone URL: git://gist.github.com/140751.git
Embed All Files: show embed
Text only #
1
2
3
4
5
6
7
8
user=> (def foo {:a 1 :e {:b 2 :c #{} } } )
#'user/foo
user=> (update-in foo [:e :c] conj "foo")
{:a 1, :e {:b 2, :c #{"foo"}}}
user=> (update-in foo [:e :c] conj "bar")
{:a 1, :e {:b 2, :c #{"bar"}}}
user=>