use Sequence internally for ordered partition
copy SeqZipper code from hoodle project
AssocMap implementation: mkAssocMap, degree