Introduce reduce for generic seqs
Merge pull request #46 from patrickgombert/reduce

Introduce reduce for generic seqs