hij1nx/EventVat — pull request #11 by fent (2012-02-07 20:18:49+00:00)
Title: Implemented lists

Hi there.

I've implemented most of the list methods. The few I excluded I felt that they weren't necessary in a javascript version of the db. Methods like `blpop` can already be done since this is fully evented.

The `lrange` and `ltrim` methods don't work exactly like their redis counterparts. In javascript, `new Array(100).slice(0, 10)` returns 10 items, not 11. I felt javascript developers would be more familiar with this. But redis like behavior can easily be implemented by adding 1 to `stop`.