mirror of
https://github.com/metosin/reitit.git
synced 2026-02-14 07:15:16 +00:00
Fix to if-some as the docs say
This commit is contained in:
parent
35993ff257
commit
48318b8793
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@
|
||||||
[f coll]
|
[f coll]
|
||||||
(reduce-kv
|
(reduce-kv
|
||||||
(fn [coll k v]
|
(fn [coll k v]
|
||||||
(if-let [v' (f v)]
|
(if-some [v' (f v)]
|
||||||
(assoc coll k v')
|
(assoc coll k v')
|
||||||
coll))
|
coll))
|
||||||
coll
|
coll
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue