add reduce to toolz.curried