ramda/ramda — pull request #672 by davidchambers (2014-12-08 00:26:31+00:00)
Title: replace R.mathMod and R.modulo with R.mod and R.rem

I set out to rename a couple of functions and ended up spending a long time on Wikipedia, GitHub, and elsewhere wrapping my head around these surprisingly tricky functions/operators.

#### mod

__Clojure:__

```
user=> (mod 42 5)
2
user=> (mod -42 5)
3
user=> (mod 42 -5)
-3
user=> (mod -42 -5)
-2
```

__Haskell:__

```
Prelude> 42 `mod` 5
2
Prelude> (-42) `mod` 5
3
Prelude> 42 `mod` (-5)
-3
Prelude> (-42) `mod` (-5)
-2
```

__Ramda:__

```
> R.mod(42, 5)
2
> R.mod(-42, 5)
3
> R.mod(42, -5)
-3
> R.mod(-42, -5)
-2
```

#### rem

__Clojure:__

```
user=> (rem 42 5)
2
user=> (rem -42 5)
-2
user=> (rem 42 -5)
2
user=> (rem -42 -5)
-2
```

__Haskell:__

```
Prelude> 42 `rem` 5
2
Prelude> (-42) `rem` 5
-2
Prelude> 42 `rem` (-5)
2
Prelude> (-42) `rem` (-5)
-2
```

__Ramda:__

```
> R.rem(42, 5)
2
> R.rem(-42, 5)
-2
> R.rem(42, -5)
2
> R.rem(-42, -5)
-2
```