Implement subseq (formerly called extract) for HSeq and OSeq