<slide>
<title>Redis: Lists</title>

<blurb>Adding on the left:</blurb>
<example inline="2">
127.0.0.1:6379> *LPUSH* whisky "Glenfiddich 12"
(integer) 1
127.0.0.1:6379> LPUSH whisky "Glenfiddich 10"
*(integer) 2*
</example>
<break/>

<blurb>Adding on the right:</blurb>
<example inline="2">
127.0.0.1:6379> *RPUSH* whisky "Ben Nevis 19"
(integer) 3
</example>
<break/>

<blurb>Listing all values:</blurb>
<example inline="2">
127.0.0.1:6379> *LRANGE* whisky *0 -1*
1) "Glenfiddich 10"
2) "Glenfiddich 12"
3) "Ben Nevis 19"
</example>

</slide>
