some changes suggested by @saikobee
Merge pull request #178 from Ramda/master

some changes suggested by @saikobee