I have tried to declare a `varargs[string | seq[string]]` but the compiler 
rejects it. It seems that for `varargs`, more strict rules apply to avoid some 
nasty problems.

But there may exist other problematic cases as Araq said. Adding – in a future 
version – an explicit unpacking as he suggests would simplify things (and 
Python people would say that explicit is better than implicit). Personally, I 
would not care as I have never used this feature, but `unpackVarargs` is really 
an ugly name :-).

Reply via email to