I didn't know you could use -> like that. I'm a little confused how it knows what :a and :b are in the inner call, but that's neat that it works that way.
–
Wes FreemanAug 15 '12 at 4:37

2

@WesFreeman "How it knows what :a and :b are"? I'm not clear about what you mean by the question. Keep in mind that all the threading macro does is expand this to (assoc-in (assoc-in mytype [:a x] y) [:b x] y)
–
Charles DuffyAug 15 '12 at 12:23