example updates and fixes

Hi all,

I just recently stumbled on this whole "functional programming" thing and shortly after that stumbled on ramda. Seems really neat!

I noticed an error or two in the examples, one thing lead to another, and I ended up writing a mocha test to compile and run all the examples. I went through and tried to get them all in working order. I changed some around slightly but mostly just little syntax fixes.

This commit only includes my fixes to the examples. If you would like me to add the mocha test that compiles and runs the examples as well, let me know and I will issue a separate pull request. Thanks!
```javascript
xs; //=> [1, 2]
```