Liking cljdoc? Tell your friends :D

Changelog

Rewrite-edn: utility lib on top of rewrite-clj with common operations to update EDN while preserving whitespace and comments.

0.4.5

  • Add conj: (str (r/update (r/parse-string "{:a [1 2 3]}") :a r/conj 1)) ;;=> "{:a [1 2 3 1]}" (@zerg000000)
  • Add fnil: (str (r/update (r/parse-string "{:a [1 2 3]}") :b (r/fnil r/conj []) 1)) ;;=> "{:a [1 2 3] :b [1]}"

0.3.4

  • #20: Bump rewrite-clj to v1.1.45 (@lread)
  • #19: Repeated assoc-in, assoc no longer throw NullPointerException (@lread)
  • Add keys and get-in (@witek)

0.2.0

  • Add get
  • Improvements for assoc

0.1.0

  • Change map-vals to map-keys

0.0.2

  • Fix NPE in assoc-in

0.0.1

Initial release

Can you improve this documentation? These fine people already did:
Michiel Borkent, Lee Read, Albert Lai & Witoslaw Koczewski
Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close