# reducemaps.lib

A library to handle reduce/map kind of operation in Faust. Its official prefix is `rm`

.

`(rm.)reduce`

Fold-like high order function. Apply a binary operation

#### Usage

```
reduce(op, n, x)
```

`(rm.)reducemap`

Like reduce but a foo function is applied to the result. From a mathematical point of view : reducemap(op,foo,n) is equivalent to reduce(op,n):foo but more efficient.

#### Usage

```
reducemap(op, foo, n, x)
```