You could use a list comprehension to create a sequence from another sequence 
based on a condition. To merge sequences on conditions look at procs and 
iterators in `sequtils`.

Reply via email to