Hello all, Recall this thread?
https://groups.google.com/forum/#!searchin/julia-users/printf/julia-users/7Sn5yys0UJE/c7eoI4AqBPIJ Well I had to drop that effort because of several projects for a while, but have been able to return to it recently and I believe I have a solution. To refresh peoples memory, I was thought a useful thing to have @printf allow splatted arguments. It turned out to be easy in the end but was quite a learning experience. Old behavior: *julia> **@printf("%d %d",[1 2]...)* *ERROR: @printf: wrong number of arguments* I have changed _printf to now allow this: New behavior: *julia> **@printf("%d %d",[1 2]...)* 1 2 More complex arguments are also possible *julia> **a = [1 2];* *julia> **@printf("%d %d %f",1,a...)* 1 1 2.000000 Number of arguments must still agree with the format string, but this is delayed until later... *julia> **@printf("%d %d",[1 2 3]...)* *ERROR: @printf: wrong number of arguments (3) should be (2)* * in error at error.jl:22* I don't like that 2nd line in the error message but am unsure how to fix it. I there a review mechanism, do I submit the patch?