Calling objects of type T is only valid if N arguments are provided.  What 
is the correct syntax for this?

immutable T{N}
  t :: NTuple{N,Any}
end

(x::T)(args...) = error("wrong number of arguments")
function {N}(x::T{N})(args::Varargs{Any,N})
  print("do stuff here")
end

syntax: invalid function name "{N}(x::T{N})"

Reply via email to