I assume you have tried the `sequtils` module from the standard library. Your 
examples should work with it. My only complaint with sequtils is that the 
functions don't work with iterators so your code gets sprinkled with toSeq().

Reply via email to