implement sequence() using traverse and using for comprehensions