When defining a fnk, I'd hope to be able to do something like this:
((fnk [{[:sub foo] 1} bar] (+ foo bar)) {:sub {:bar 1}})
to get back 2. Unfortunately, combining the optional {} syntax with the [] destructuring syntax does not work:
CompilerException java.lang.ClassCastException: clojure.lang.PersistentVector cannot be cast to clojure.lang.Named, compiling:(*cider-repl trapperkeeper*:16:32)