queue/simple: implement Sequence protocol