I came up with this solution:
julia> macro myprintf(x,y...)
:(print(now(),":",@sprintf($x,($(y...),)...)))
end
after reading this post
But I don’t know why it works
I came up with this solution:
julia> macro myprintf(x,y...)
:(print(now(),":",@sprintf($x,($(y...),)...)))
end
after reading this post
But I don’t know why it works