made tests green again

This commit is contained in:
Araq 2012-08-16 19:05:38 +02:00
commit 0cac8d9b6f
7 changed files with 20 additions and 20 deletions

View file

@ -15,7 +15,7 @@
## **Note**: This interface will change as soon as the compiler supports
## closures and proper coroutines.
proc concat*[T](seqs: openarray[seq[T]]): seq[T] =
proc concat*[T](seqs: varargs[seq[T]]): seq[T] =
## Takes several sequences' items and returns them inside of one sequence.
var L = 0
for seqitm in items(seqs): inc(L, len(seqitm))