We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I don't know if this is a bug or just out of scope of the library:
(supdate #{} [identity]) => ()
I was expecting:
(supdate #{} [identity]) => #{}
I noticed it when reading this medley PR description: weavejester/medley#63
I tried to solve the example with supdate (mostly to learn how supdate works), and found myself having to restore the set type the orders collection:
supdate
set
(def m {:users [{:id 1 :orders #{{:items [{:price 1} {:price 4} {:price 2}]}}} {:id 2 :orders #{}}]}) (-> m (supdate {:users [{:orders [{:items [{:price #(str "$" %)}]}]}]}) (supdate {:users [{:orders set}]})) => {:users [{:id 1 :orders #{{:items [{:price "$1"} {:price "$4"} {:price "$2"}]}}} {:id 2 :orders #{}}]}
The text was updated successfully, but these errors were encountered:
Add check if source is a set and preserve if so
6e57f15
Fixes vvvvalvalval#8
No branches or pull requests
I don't know if this is a bug or just out of scope of the library:
(supdate #{} [identity]) => ()
I was expecting:
(supdate #{} [identity]) => #{}
I noticed it when reading this medley PR description: weavejester/medley#63
I tried to solve the example with
supdate
(mostly to learn howsupdate
works), and found myself having to restore theset
type the orders collection:The text was updated successfully, but these errors were encountered: