Partial sum implementation

Delete the `typename V = ...` line and replace `OutputIterable<ORng, V>` with `Iterable<ORng>`.