mrgordon/rotary — pull request #4 by itoshkov (2012-06-27 14:04:36+00:00)
Title: Fixed item-key to work with numeric keys

The idea was `item-key` to handle the various key combinations like `hash`, `[hash]` and `[hash range]`. I didn't notice that it wasn't working correctly for numerical hash-keys: `(item-key 123)`.

I've fixed that, and removed the now extra code, which checked if the key is a vector or not.

Hopefully now we can use keys in the form `hash`, `[hash]` and `[hash range]` wherever the api parameter is named `key`.