Hi!
I'm talking about the => syntactic sugar from http://nim-lang.org/docs/future.html
It works with simple param types:
import future
var foo: (int, int) -> int
However, if I replace int with varargs[int] or seq[int], it fails:
import future
var foo: (varargs[int]) -> int
The error is Incorrect type list in proc type declaration.
Anonymous functions without the sugar work fine with varargs and seqs:
var foo: proc (args: varargs[int]): int
Is that the designed behavior? If yes, I think it should be documented here http://nim-lang.org/docs/future.html