in clojure.core.match , this example works well in nested map
(match [{:a {:b :c}}]
[{:a {:b nested-arg}}] nested-arg)
but when change the key to a vector it will raise error.
(m/match x
{:a {[:b :c] 1}}
:found
)
Isn't that [:b :c] is a valid key in clojure map ? Or it just won't work in clojure.core.match ?
[:b :c]is of course a valid key. This is a bug and it was already reported, see opened issue.And it seems you can't also match map with numbers as keys: