mirror of
https://github.com/metosin/reitit.git
synced 2026-01-08 08:19:51 +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]
|
||||
(reduce-kv
|
||||
(fn [coll k v]
|
||||
(if-let [v' (f v)]
|
||||
(if-some [v' (f v)]
|
||||
(assoc coll k v')
|
||||
coll))
|
||||
coll
|
||||
|
|
|
|||
Loading…
Reference in a new issue