clojure.lang.Util.isInteger does not currently consider Bytes and Shorts to be integers.

That leads to this behavior:

1:17 user=> ([1 2 3] (short 2))
java.lang.IllegalArgumentException: Key must be integer (repl-1:17)

I suggest that isInteger return true for Bytes and Shorts as well.

--Steve

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to