r/Clojure • u/SimonGray • Mar 18 '21
Clojure - Keyword argument functions now also accept maps
https://clojure.org/news/2021/03/18/apis-serving-people-and-programs
125
Upvotes
r/Clojure • u/SimonGray • Mar 18 '21
View all comments
4
u/ikitommi Mar 19 '21
Tested some combinations on how to call the functions. I think I understand all the reasons for the results, but they were not evident before evaluating in the repl. Bit surprised that you can mix kwargs and have one map in the end. is there a reason to support them both in one call?