Simplify Data.Sequence code