ramda/ramda — pull request #694 by megawac (2014-12-14 01:17:52+00:00)
Title: Implement euclid mathmod

modulus is [well defined for negative integers](http://en.wikipedia.org/wiki/Modulo_operation#Remainder_calculation_for_the_modulo_operation). This handles it as specced. /cc https://github.com/kchapelier/node-mathp/issues/2