update readme
This commit is contained in:
parent
ad3baacf5f
commit
a583540f21
1 changed files with 1 additions and 0 deletions
|
|
@ -38,6 +38,7 @@ Here's how to increment all the even values for :a keys in a sequence of maps:
|
||||||
|
|
||||||
```clojure
|
```clojure
|
||||||
user> (use 'com.rpl.specter)
|
user> (use 'com.rpl.specter)
|
||||||
|
user> (use 'com.rpl.specter.macros)
|
||||||
user> (transform [ALL :a even?]
|
user> (transform [ALL :a even?]
|
||||||
inc
|
inc
|
||||||
[{:a 1} {:a 2} {:a 4} {:a 3}])
|
[{:a 1} {:a 2} {:a 4} {:a 3}])
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue