Re:Functional-navigational programming in Clojure with Specter
by escherize on Tuesday September 29, 2015 @05:47AM
(#10295311)
I've read about specter before on its github[1], and I must admit I didn't see the bigger picture that is explained in the opening example of this article.
I thought I could get by with just using:
(-> huge-thing :key1 :key2 first ...)
But now I actually grok the value behind Specter! Great stuff, and I will use it next time I begin up a re-frame[2] app!
I thought I could get by with just using:
But now I actually grok the value behind Specter! Great stuff, and I will use it next time I begin up a re-frame[2] app![1] https://github.com/nathanmarz/specter
[2] https://github.com/Day8/re-frame/