dispatch on type of tuple with ...

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

dispatch on type of tuple with ...

Tamas Papp

I asked this on julia-users but did not get a reply so I thought I would
ask here.

Suppose I have a parametric type, with parameter T <: Tuple, and I would
like to dispatch on the type of tuple that results from the
... construct.

I found that function(args::T...) does not work (v"0.4.6-pre+4"), but a
wrapper does. See example code at


Is there a direct syntax for this?