mauro3 / Traits.jl

Exploration of traits in Julia
Other
39 stars 6 forks source link

Any use for varargs in traitdef? `f( X... ) -> Y` #6

Open tonyhffong opened 9 years ago

tonyhffong commented 9 years ago

I can see how it can be convenient. That said, dispatch rule can be tricky because it could match zero argument?

mauro3 commented 8 years ago

Some vararg support is in SimpleTraits, see this test.